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 |
List browser related issues for jquery?
Can you please explain the difference between prop and attr? : jquery mobile
What are the various ajax functions?
What does $("div.parent") will select?
How to read cookies in jquery?
What is the difference between event.stopPropagation and event.stopImmediatePropagation?
Explain cache paremeter of jquery ajax method?
What is .detach()? : jquery mobile
How do you disable or enable a form element?
Explain the basic need to start with jquery? : jquery mobile
How can we give face effect in jquery?
Whether C# code behind can be called from jQuery?