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

What is the between $(this) and 'this' in jquery?

0 Answers  


What is the use jQuery.data method?

0 Answers  


Explain data paremeter of jquery ajax method?

0 Answers  


How can you apply a style on an element using jQuery?

0 Answers  


What is a cdn? What are the advantages of using cdn?

0 Answers  


How to read, write and delete cookies in jquery?

0 Answers  


what is the use of param() method in jquery .

0 Answers  


Explain .live()? : jquery mobile

0 Answers  


Can you please explain the difference between event.preventdefault and "return false"? : jquery mobile

0 Answers  


List the basic selectors in jquery?

0 Answers  


How to control page titles in jquery mobile? : jquery mobile

0 Answers  


What is the jQuery code to select all links inside the paragraph?

0 Answers  


Categories