Skip to main content

Posts

Showing posts from October, 2013

Deffered Ajax calls in jQuery

One of the useful features of jQuery Ajax function is the ability daisy chain a series of JS calls using ".done" directive. If you have a series of web service calls and want them to execute in a certain predetermined order you can simply add your function to a jQuery $ajax call and use the ".done" helper to call a web service when another call completes. Here is a Plunker example: Here is a quick plunkr example code.