In jquery how can I keep track of multiple ajax request called from one function
Posted
by binay
on Stack Overflow
See other posts from Stack Overflow
or by binay
Published on 2010-06-05T12:20:42Z
Indexed on
2010/06/05
12:32 UTC
Read the original article
Hit count: 208
I'm using jquery and in one function I'm calling multiple function which are doing different ajax request for example
function contactForm(){
loadCountryList();
loadMyData();
checkUserType();
// doing my stuff
}
How can I know if all the ajax request are completed so that I start doing my stuff in the end? I don't want to call them one by one to minimize the request time. any suggestion will help me a lot.
© Stack Overflow or respective owner