Questions tagged as 'jquery'

2
answers

Ajax Jquery - Accumulating requests

Good morning everyone, I have a very strange problem with a system I picked up for maintenance. All the requests I make to the server have been building up. For example: - I perform user exclusion 01. It sends the request and deletes the...
asked by 27.10.2015 / 14:19
1
answer

Implement Dependent Select with AJAX and JQuery on Zend

I'm new to programming and I'm setting up a small system for a specific collection control. But I need to fill some fields without reloading the page (AJAX) and others when select is set, but I'm not sure how to do this. I'm posting th...
asked by 23.06.2015 / 21:42
2
answers

Refresh to a div

I'm having trouble applying the following Javascript code to my platform: <script> var $scores = $("#refresh"); setInterval(function() { $scores.load("index.php #refresh"); }, 30000); </script> Because the...
asked by 22.06.2015 / 14:01
0
answers

Adding multiple javascript images [closed]

I am adding images by javascript, but before doing the upload of the file I show in a thumbnail the preview of this image, so far everything goes exactly right, however I want it when I click to add another image (having one already select...
asked by 07.07.2015 / 18:21
2
answers

Fill fields with json function return with jquery

I have this method on the Controller [HttpPost] public JsonResult PreencheEndereco(string _cpf) { AgaxturCmsEntities db = new AgaxturCmsEntities(); try { var Result = (from a in db.TB_CLIENTES where a...
asked by 13.03.2014 / 23:45
2
answers

Is it possible to send a list of javascript objects to a function in the contoller?

I am returning a list of data of an object type (GAR) of the actualizarGARs function of the controller: var listaGARTratadas = db.GAR.ToList(); return Json(listaGARTratadas); And in javascript I wanted to send this list of objects ba...
asked by 25.08.2014 / 17:48
1
answer

How to use Node.js to run a PHP page?

In my case, the following is occurring: the microcontroller sends data using GET to the server, it saves to the MySQL database and tests if the alert needs to be triggered. This alert is done with a PHP page that uses jQuery + Ajax to send to an...
asked by 05.04.2015 / 00:33
3
answers

Refresh DIV without giving refresh on page JQUERY

Good afternoon Hi, I have an Ajax application that I am trying to use. I have a PHP file which I am trying to use. In the case I would like to update only the div and nothing else is just to run the foreach again that will get the data of the se...
asked by 24.06.2016 / 19:41
2
answers

Export HTML form to PDF with input field initialized by js does not appear in Pdf document

I have an HTML form where each input tag has its empty value attribute. This value attribute must be filled in randomly by a javascript code. So far so good. The problem is that when I use the plugin (jspdf) to submit this form to a PDF output,...
asked by 11.03.2016 / 15:11
4
answers

Send more than one parameter in GET request

I use the following code to send a parameter in a Ajax request of type GET . $('#cidades').load('cidades.php?estado=' + $('#estados').val()); How do I pass also a parameter called recurso ?     
asked by 09.12.2015 / 16:00