Hi..
Can anybody explain me ,
How to call the Multiple Ajax methods one by one. using When Then and Finally.
Thanks in Advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #259 · 9.8K reputationPosted Aug 1, 2014, 2:19 AM EDT
Guest UserRank #259 · 9.8K reputationPosted Aug 1, 2014, 1:03 AM EDT
Pradeep ShetRank #595 · 4K reputationPosted Aug 1, 2014, 1:49 AM EDT
This way you can call multiple ajax one after another. On success response of one call the next
$.ajax({
,url: "abc/sdsd"
,type:"POST"
,data: parameter
,success: function(response){
$.ajax({
//same way as above
});
}
,error: function(e){}
});
Hope this snippet helps you. If it is so plz mark it as answered.