Use the complete callback to run some logic after an ajax call is complete. So you can do something like:
$.ajax({ url: "first_url" , type: "post" , complete: function (){ $.ajax({ url: "second_url" , type: "post" , complete: function (){ alert('done with 2nd call!); } }); } }); -Dan On Sun, Feb 22, 2009 at 7:37 AM, major <mei...@gmail.com> wrote: > > I have ajax call which implemented in Dojo. > I need some JQuery mechanism which allow 1 ajax call to run, only > after the former call has finished. > I need such mechanism, since there is a known bug in IE which cannot > run 2 ajax calls simultaneously. >