Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we execute/run multiple Ajax request simultaneously in jQuery? If yes, then how?

Answer Posted / chaitanya

Yes, it is possible to execute multiple Ajax request simultaneously or in parallel. Instead of waiting for first ajax request to complete and then issue the second request is time consuming. The better approach to speed up things would be to execute multiple ajax request simultaneously.

Using jQuery .when() method which provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. Find out more here.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can related code be encapsulated? Give example.

827


Why jquery?

908


Describe the two types of cdns?

878


Explain the use of jquery .each() function? : jquery mobile

865


Difference between find() and closest() in jquery?

872


What are the popular jquery cdn? : jquery mobile

859


What is jquery.size()? : jquery mobile

878


Mac, windows or linux? Why do you love this platform while using jquery?

825


Define jquery connect?

968


What is resize() function in jquery?

980


Differentiate between jquery.size and jquery.length? : jQuery Mobile

885


Explain various methods to make ajax request in jquery?

817


Why content injected into a page is not enhanced? : jquery mobile

822


Explain width() vs css(‘width’)?

798


What is the difference between jquery and javascript?

906