Linked Questions
130 questions linked to/from How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?
182
votes
3
answers
215k
views
how to make a jquery "$.post" request synchronous [duplicate]
I’ve been googling this and avoiding this error in my bug fix list for a long time now, but I’ve finally reached the end of the list, the last of which I have to make a function return true/false to ...
17
votes
2
answers
28k
views
how to make ajax synchronous? [duplicate]
How do I make function out of this?
//check if station is alive
$.ajax({
url: "lib/grab.php",
data: "check_live=1&stream_url="+valueSelected,
...
14
votes
3
answers
9k
views
Correct way to wait for ajax to return (I don't want to use the success handler.) [duplicate]
Possible Duplicate:
How can I get jQuery to perform a synchronous, rather than asynchronous, AJAX request?
how to wait for an ajax call to return
Hear me out. I completely understand this code ...
5
votes
1
answer
10k
views
How can I make a JavaScript synchronous call to the server? [duplicate]
Possible Duplicate:
How can I get jQuery to perform a synchronous, rather than asynchronous, AJAX request?
I have a method that returns initialization data. It first checks the sessionStorage. If ...
3
votes
2
answers
2k
views
jQuery stop ajax running asynchrously [duplicate]
Is there a way to prevent ajax running async?
jQuery:
var returnValue = false;
var appCount = 0;
$.ajax({
type: "GET",
url: "...
8
votes
2
answers
2k
views
Javascript: call a blocking HTTP POST [duplicate]
I have a caller function that invokes another function that send a HTTP POST with parameters. Now i want that this called function blocks execution until there is its "success" (so when its HTTP POST ...
3
votes
1
answer
275
views
Javascript function order AJAX [duplicate]
My problem is that pointOnMap() runs before xmlPreparer() despite on order.
I think it has something to do with using AJAX. parseXML creates object i need .
So when i use pointOnMap() it already ...
4
votes
5
answers
323
views
How to make a javascript variable global when called the $.get method? [duplicate]
Possible Duplicate:
How can I get jQuery to perform a synchronous, rather than asynchronous, AJAX request?
Get a variable after ajax done
The two alert functions in the following code returns ...
-1
votes
1
answer
207
views
How to specify an asynchronous request in API JavaScript [duplicate]
I want to send to server (php) a request AJAX from an api javascript:
JS File :
var commit = new Object();
commit.id= this.id;
commit.action = this.doCommit;
commit.vrp= this.vrp;
$.post(this....
2
votes
0
answers
89
views
Convert function to synchronous from asynchronous [duplicate]
I've created this function, however when it runs on the website it's designed for it is returning undefined. I did some quick Googling and found that because it's an asynchronous function, it ...
0
votes
1
answer
79
views
Async/Synchronous request calls out of order for Browser JS [duplicate]
Using D3.js graphs, I'm trying to draw a path defined by a data array, but there is a TypeError when doing this.
Edit: through debugging, I found that the data array had not been fetched yet.
This is ...
0
votes
0
answers
34
views
JQuery does not set variable after $.get [duplicate]
Hello gurus in the house. It sounds like a duplicate but I am having a tough time with it since 48hrs past. The question is based on a jQuery. I have a file that i would like to pass into a variable ...
494
votes
15
answers
831k
views
jQuery AJAX cross domain
Here are two pages, test.php and testserver.php.
test.php
<script src="scripts/jq.js" type="text/javascript"></script>
<script>
$(function() {
$.ajax({...
129
votes
7
answers
316k
views
jQuery has deprecated synchronous XMLHTTPRequest
Like many others, my website is using jQuery. When I open the developer tools, I see a warning that says that XMLHTTPRequest is
deprecated because of its detrimental effects to the end user's ...
56
votes
4
answers
90k
views
jQuery validator and a custom rule that uses AJAX
I read your reply regarding the jQuery validator where you outline a method to check a username against a value in a database.
Ive tried implementing this method but no matter what is returned from ...