Can we execute/run multiple Ajax request simultaneously in jQuery? If yes, then how?
Answer Posted / 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 View All Answers
What is jquery a client or server scripting?
Which one is more efficient, document.getelementbyid( "idname") or $("#idname)?
How to find all sibling elements in front of the current element using ?
How can you get the type of arguments passed to a function?
What is jquery toggle function?
Explain which program is useful for testing jquery?
What is the use of toggle() method in jquery?
Tell me what does $("div") will select? : jquery mobile
What is queue() in jquery?
Which operating system is more compatible with jQuery?
Difference between prop() and attr()? : jQuery Mobile
How to get the value of selected option in jquery?
What are the different type of selectors in jquery?
What is the use of each function in jQuery?
How do you update ajax response with id " resilts"?