Questions tagged as 'jquery'

2
answers

Select option when clicking button

I have 3 buttons outside of the form tag and when clicking on any of them, I need the value to be selected in the select, follow image and code for better understanding: Buttons (outside tag form) <div class="botoes_action"> &l...
asked by 23.11.2016 / 14:44
1
answer

How to develop an Auto Text Expander with JavaScript or jQuery?

I want to create multiple keywords to work as a shortcut to auto completion. "oi." daria "Olá Amigo" "ate." daria "Abraço e até mais" For example, I type in a textarea of my site the word "test." and automatically and immediately this shor...
asked by 05.06.2017 / 08:56
1
answer

Update on more than one line

I'm trying to mount a update like this: UPDATE cad_vendas SET canal ='9', parceiro ='9' WHERE cpf_vendedor ='CPF_VENDEDOR' and status_proposta_producao ='90' and forma_pagamento <> ''; but it does not accept if I do not pass the...
asked by 05.06.2017 / 15:25
1
answer

Can organic search visitors count?

I wonder if there is any tool / api to know from which website the visitor came to, to account visitors coming from the search engines. Thank you all.     
asked by 06.10.2016 / 21:51
1
answer

RequireJS data-main does not work

Hello I'm always getting the same message when trying to run my index.html file that attempts to reload jQuery from requireJS.    /TestRequire/jquery.js net :: ERR_FILE_NOT_FOUND Error: Script error   for "jquery" link index.html &...
asked by 06.10.2016 / 15:58
1
answer

Disable Input if Determined Button Radio is Selected

I have a registration form, which the person selects if it is an Individual or Legal, and the fields to fill when I select and have a Jquery script that does the validation so that it is mandatory to select and fill these fields after the select...
asked by 06.10.2016 / 16:38
1
answer

If loop with css in JQuery

$('#label-user').click(function(){ if ($('#label-user').style.display != 'none') { $('#label-user').css('display', 'none'); } });     
asked by 03.10.2016 / 21:01
2
answers

What is the correct way to use a package installed by npm? [duplicate]

To explain my question I will use jquery as an example. I installed jquery from npm (npm install jquery). Then npm created the folder node_modules \ jquery \ dist where is the jquery file that I need (jquery.js). To use this file should I p...
asked by 19.11.2016 / 22:26
3
answers

Pick up the week correctly

Colleagues, How would I get the week in a given month? For example, if the user next time to access the system (today is 11/18/16), it would appear:    Current week: 11/20/2016 to 11/27/2016 I accept suggestions in PHP, Jquery or Javas...
asked by 18.11.2016 / 14:44
1
answer

Calculate input dynamically with jquery

Good afternoon, I have a dynamically inserted input code function new_input() { $('<x>' + '<input class="cod" id="focus' + rscn +'" placeholder="Código" />' + '<input class="desc" placeholder="Des...
asked by 05.04.2017 / 19:55