Wait until all Ajax is completed !!!

added by hozefam
8/11/2012 3:33:10 AM

0 Kicks, 103 Views

Problem is I need to wait for all ajax requests to be done before i execute the next line of code. This can be handled in 2 ways 1) Make the Ajax request synchronous 2) Implement of $.when() in jQuery and handle the next lines in callbacks (success/failure)