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 |
How to use connect?
Tell me how do you stop the currently-running animation? : jquery mobile
How we can remove an attribute of an html tag in jquery?
What is the use of jQuery load method?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
What is difference between onload and ready?
How can we include jQuery library in ASP.Net project?
Why should I use jquery?
Define the use of each function in jquery?
What is jQuery plugin and what is the advantage of using plugin?
What is the difference between "#" and "." selector in JQuery?
How to check jQuery version?