Questions tagged as 'jquery'

3
answers

How to add multiple elements within the jQuery html () function?

I have the following excerpt: $('#div').html(); I need to add some div within this div , but I do not know how, because if I try to do this it gives error: NOTEM THE ADDITIONAL SIGN FOR THE CONCATENATION $('#div').html($...
asked by 31.05.2017 / 00:30
2
answers

enable and disable submit according to input field validity

I have a form within a modal, it serves for company registration. I'm trying to make the submit button stay disabled until the company's zip and cnpj are typed in the correct way. I've done a similar function for a login field, but I can not mak...
asked by 23.04.2017 / 21:10
2
answers

How to get element id from the find method?

I'm cloning a row in the table, I can insert a new value into id , but would like to concatenate a new value to the existing id . $("#addRow").click(function() { $clone = $('#tabela tbody>tr:last') .clone(true)...
asked by 10.03.2017 / 19:16
1
answer

How is a page updated in PHP via AJAX?

I started thinking about using AJAX in an application I'm developing, but I've encountered some problems with it. I would like to understand how it works, to make the most of this "tool". I had no problem adding static or simple php scripts....
asked by 30.04.2017 / 09:56
1
answer

How to make a GET request to each line with jQuery

Hello, I have the following code: $('#checar').click(function() { $.ajax({ type: 'GET', url: 'checar.php', data: { lista: $('#lista').val() }, success: function(data) { $('#sucesso').html(data...
asked by 04.03.2017 / 08:49
1
answer

Real-time data filtering using Jquery

I am building a comment system and would like that when the user selects the value of a select field, a variable would be sent to a PHP page with the selected value, and it would return the results inside a div. > <form> <div class...
asked by 06.03.2017 / 21:47
2
answers

Jquery - Is there a way to connect buttons?

I'm a beginner in programming I'm working with wordpress. On the site I'm helping I have a Slider Revolution with 4 balloons that will serve as buttons. And in the body of the site I have a Portfolio plugin with filters. I'd like to know if y...
asked by 21.02.2017 / 20:43
2
answers

Add parameter at the end of the link with jQuery

I'm trying to get some specific URL's on a page, and add a parameter at the end of the link, but I'm not getting success as the object is returned instead of the link string + parameter. I made a very simple example of the code: var links =...
asked by 23.02.2017 / 16:01
2
answers

ASP.net JavaScript does not recognize the TextArea if it has a Tag runat="server"

I have a problem with my JavaScript. I am using a code that server to do the numbering in a TextArea when the user gives Enter, however, if that TextArea has the tag runat="server" Javascript does not recognize the box and simply d...
asked by 21.06.2017 / 16:51
1
answer

Multiple Upload images

I want to perform multiple uploads but the following message appears:    Notice: Undefined index: files in C: \ xampp \ htdocs \ fotolog \ adm \ upload_fotos.php on line 6       Warning: Invalid argument supplied for foreach () in C: \ xampp...
asked by 16.04.2017 / 22:21