Saturday, 24 August 2013

Previous Interview Question Next Interview Question
Home

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

 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.

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment