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

What is the use of the animate() method in jquery?

766


How to get the style property of an element using ?

715


How to use css() in jquery?

788


How do you select an item using css class or id and get the value by use of jquery.

760


Differentiate between calling stop (true, true) and finish method?

804


Explain the basic need to start with jquery? : jquery mobile

716


Explain .on()? : jquery mobile

772


How to use jquery.connect?

770


Define the use jquery.data method?

766


How to set attributes of an element using jquery?

766


What are the features of jQuery, has been used in web applications?

776


What is the use of param() method?

857


How to control page titles in jquery mobile? : jquery mobile

722


Explain finish method in jquery? : jquery mobile

836


What is the difference between find and children methods?

815