Questions tagged as 'ajax'

1
answer

Ajax is returning an array and now, how to separate?

My Ajax request is returning 3 records from a PHP query (yes, I'm sure), so we have arrays of type: array 1 ["João", "19/05/1986", "masculino", "Programador", "Campo Grande"] array 2 ["Maria", "15/05/1988", "feminino", "Enfermeira", "Londres"]...
asked by 04.08.2014 / 14:31
1
answer

Update timed image using AJAX

I have this function: if ($files_count == 0) { ?> <img src="img/upload.gif"> <?php } And I needed this refreshed every 5 seconds without giving refresh on the page. I have already tried several AJAX functions an...
asked by 08.07.2014 / 18:03
1
answer

AJAX Wordpress request with problems

I'm developing a form template within a wordpress theme. I need the form data to be sent via email to a certain address via AJAX. Here is the form handling in JS: var FormData = function(){ var user_name; var user_email; var user_message; thi...
asked by 01.07.2014 / 13:13
2
answers

Streaming data on Http in Javascript

Is there a way to send data about Http, but instead of all the information at once, send one part at a time? For example: I make an Http request for GET /produtos . This will return all my products (assuming I did not put a limit). If...
asked by 01.07.2014 / 20:17
1
answer

Return Java exception for Ajax

Alright? I'm working on a project, and the backend (java) , is completely separate from the front-end , and they communicate by REST . I have a big question on the issue of exceptions. For example, an error occurred in java, SQLExceptio...
asked by 03.07.2014 / 21:30
1
answer

parsererror error while executing a crossDomain AJAX request

I've created this page to test a cross domain request with AJAX : <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script></head><body><scripttype="...
asked by 16.09.2014 / 14:15
2
answers

How do I update a table by ID? [closed]

I have a table and in it I have a icon with event onClick , the script is doing its job to change the status of true to false , if clicked. Is my job updating this table every time this happens? function Change(val){...
asked by 22.05.2014 / 05:28
1
answer

problem with page complete in ajax

I have a code that is working relatively well but has a small problem that I do not know how to solve ... In a page I have several combos that when clicking launch ajax requests and will complete other combos and simultaneously restrict a tab...
asked by 04.04.2014 / 16:06
1
answer

Kendo UI Grid export Excel

I have the following Grid in * .cshtml: $.ajax({ url: '@Url.Action("RetornaJsonGrid", "PacoteLicencas")', type: "post", cache: false }).success(function (json) { $("#g...
asked by 24.03.2014 / 16:55
1
answer

How to add a value sent from an onclick to the Ajax 'date'?

I have a table in HTML and in a table column there is a link that opens a Modal. In this way I make approval records and show who approved and the date of approval (more than one person can approve, so he has a list of approvals). To do t...
asked by 20.03.2014 / 15:24