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 |
Tell me which command will give a version of jquery?
Is numeric in jquery?
Explain .siblings() method in jquery?
How to get/set the html contents of an element using jQuery?
What is the basic need to start with jQuery?
What does the jQuery migrate function do?
What is the starting point of code execution in jquery?
What is jQuery UI?
Need to add jQuery file in both Master and Content page?
What is the difference between prop and attr?
How to use jquery.connect?
How to load jQuery locally when CDN fails?