In jquery how can I keep track of multiple ajax request called from one function
- by binay
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.