[jQuery] Re: Synchronized 2 ajax calls

2009-02-22 Thread neha toor
visit here for all free stuff and check out our other free sites. http://tinyurl.com/d2t3sh http://tinyurl.com/aej94c http://tinyurl.com/c7khum http://tinyurl.com/aznmhq http://tinyurl.com/bempdf Pastikan Supervisor Anda hadir dalam workshop ini !! Introduction Dalam konteks struktur organisasi po

[jQuery] Re: Synchronized 2 ajax calls

2009-02-22 Thread major
Thanks Dan On Feb 22, 6:12 pm, "Dan G. Switzer, II" wrote: > 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"

[jQuery] Re: Synchronized 2 ajax calls

2009-02-22 Thread Dan G. Switzer, II
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 wi