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
What is the difference between jquery's ready and holdready?
How to Use the jQuery load() Method?
How we can modify the css class in jquery?
When can jquery be used?
Define jquery $.ajax() method?
Mac, windows or linux? Why do you love this platform while using jquery?
What are the methods used to provide effects in jquery?
How to create, read and delete cookies with jquery?
What is the use of clone method in jQuery?
Mention the differences between javascript and jquery.
Why we need jquery mobile? : jquery mobile
Please explain remove class jquery with example?
Whether our own specific characters are used in place of $ in jQuery?
Tell me which program is useful for testing jquery?
What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?