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 how to select combobox select value and text using jquery?
What is .siblings() method in jquery?
Explain the difference between jquery's ready and holdready?
Explain the starting point of code execution in jquery? : jquery mobile
Explain remove class jquery with example?
What programming language does jquery use?
Difference between document.ready and window.onload? : jQuery Mobile
Explain chaining in jquery? : jquery mobile
Can we execute/run multiple Ajax request simultaneously in jQuery? If yes, then how?
Can we call c# codebehind method using jquery?
Define cdn in jquery?
How to get attributes of an element using jQuery?