How To Wait Until All Ajax Requests Are Finished In JQuery
Posted by blogmeister on
April 4, 2013
The solution is simple if you know which function to call. I had read so many suggestions, some long, some a hassle when in fact, the quickest and shortest solution to execute code after all Ajax requests are finished in JQuery is this:
|
1 2 3 |
$(document).ajaxStop(function () { // do something }); |
Easy, right?
Found this useful? Donations appreciated to help keep this blog alive.








