Can we execute/run multiple Ajax request simultaneously in jQuery? If yes, then how?



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

Post New Answer

More jQuery Interview Questions

When can jquery be used?

0 Answers  


Can we use our own specific character in the place of $ sign in jQuery?

1 Answers  


What is the use of jQuery.data() method?

0 Answers  


Define animate function in jquery?

0 Answers  


Tell me how to write browser specific code using jquery? : jquery mobile

0 Answers  






​ What is difference between prop and attr?

1 Answers  


How to increase cursor size in html body using jquery?

0 Answers  


Explain bind() vs live() vs delegate() methods.

0 Answers  


Please explain remove class jquery with example?

0 Answers  


Can you include multiple version of jQuery? If yes, then how they are executed?

1 Answers  


Explain the difference between onload() and document.ready() function used in jquery?

0 Answers  


Mention the advantages of cdn? : jQuery Mobile

0 Answers  


Categories