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 are the different types of selectors in jquery?

0 Answers  


How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.

0 Answers  


Is Uncaught TypeError: $(…).modal not a function jquery?

0 Answers  


Tell me how to select combobox select value and text using jquery?

0 Answers  


Define jquery connect?

0 Answers  






Can JQuery Run on MAC or Linux instead of Windows?

0 Answers  


How do you get the text value of a selected option?

0 Answers  


How to write browser specific code using jquery? : jquery mobile

0 Answers  


Why is the block display style used for animations?

0 Answers  


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

0 Answers  


Define cdn in jquery?

0 Answers  


Does events are also copied when you clone any element in jQuery?

1 Answers  


Categories