Questions tagged as 'ajax'

2
answers

jQuery.ajax async parameter is deprecated, now what?

I'm developing a Javascript application and need to queue ajax requests, and I need one to be done after the other because they manipulate some variables in my scope. The async parameter of the jQuery.ajax is deprecated, how do the...
asked by 30.04.2015 / 19:21
2
answers

How to rename the variable during a loop in JavaScript

I want to do an indefinite number of ajax requests, depending on the number of pass urls as a parameter, I only need to know how to increment the (name) of the variable so that the response does not overlap with the previous one. Each request...
asked by 25.09.2017 / 15:51
1
answer

How to insert data in mysql via ajax + php + foundation 5

I wanted to know how I can enter data in MySQL via Ajax + PHP using the Zurb Foundation 5 Framework? Does the "data-reveal-ajax" property of the framework already override an insert Ajax function?     
asked by 12.01.2015 / 05:59
1
answer

How do I know if the user is updating the page [closed]

The user is filling the cart with various items, and I have created a jQuery function where items are summed up instantly and presented to it. As soon as he finishes choosing the items and clicking the continue button, the items and value are sa...
asked by 16.03.2015 / 19:27
1
answer

Freight calculation with WS post via javascript

I'm trying to make the freight calculation of the post via javascript, but when I do the test it does not pull the data and it returns the error to me    XMLHttpRequest can not load link ... & nVlDiametro = 0 & sCdMaoPropria = s & nVlVa...
asked by 28.07.2017 / 20:00
2
answers

Why do my events with Jquery stop working after an AJAX request?

I have two buttons that when clicked make the call of a .on('click',function()) but before that an AJAX request is made and after that request they do not work anymore. Before I did the function to make the request, it worked perfectly. T...
asked by 25.11.2015 / 17:33
2
answers

Submit multiple forms with AJAX, one at a time

I have a code that I get with PHP registered students in my bank, and I make a for it to have 1 form for each student. Each form has its button submit, which takes you to the AJAX function to serialize form. This is my form's tag (which is wi...
asked by 08.01.2016 / 17:28
2
answers

setTimeout not executed in the loop (each)

See the function below: $(grupo).each(function (i) { setTimeout(function () { $.ajax({ url: "curltst.php", data: { acao: "teste", mensagem: mensagem, grupo: gr...
asked by 20.03.2015 / 01:06
2
answers

Hide Div after x seconds after performing action

Good morning, people, I have in my home a field to consult CPF. The field has only a text field, where I inform the CPF, if I find any cpf in the database, it returns some data to me. I submit the form with ajax, not to reload the page, in th...
asked by 12.06.2015 / 14:49
1
answer

Effect of ajax on the button

No commandButton of primefaces has u ajax attribute that can be true or false . What effect does it have on submission? I'm making a silly example where the user types a name and triggers the button, right after...
asked by 22.02.2017 / 17:43