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
How we can check if an element is empty or not using jquery?
Can we call c# codebehind method using jquery?
How we can set the html contents of an element in jquery?
Why we use chaining in jquery?
What is the starting point of code execution in jquery?
What is jquery connect and how to use it?
How to work with jQuery parent(), children() and siblings()?
How can jquery library be added to pages?
How to create, read and delete cookies with jquery?
How to use jquery?
Can you use multiple document.ready() function on the same page?
Explain which program is useful for testing jquery?
What is the advantage of using the minified version of jquery rather than using the conventional one?
How to executed jquery selectors? : jquery mobile
What were the biggest challenges of getting the jQuery 1.7 release ?