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



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

Answer / 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

More jQuery Interview Questions

How to use connect?

0 Answers  


Tell me how do you stop the currently-running animation? : jquery mobile

0 Answers  


How we can remove an attribute of an html tag in jquery?

0 Answers  


What is the use of jQuery load method?

0 Answers  


How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.

0 Answers  






What is difference between onload and ready?

0 Answers  


How can we include jQuery library in ASP.Net project?

0 Answers  


Why should I use jquery?

0 Answers  


Define the use of each function in jquery?

0 Answers  


What is jQuery plugin and what is the advantage of using plugin?

1 Answers  


What is the difference between "#" and "." selector in JQuery?

0 Answers  


How to check jQuery version?

0 Answers  


Categories