calling ajax after ajax code example Example: call ajax after ajax function func1() { $.ajax({ ... }).done(func2); }