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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Guest UserPosted Aug 1, 2014, 6:19 AM
Pradeep ShetPosted Aug 1, 2014, 5:49 AM
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.
Guest UserPosted Aug 1, 2014, 5:03 AM