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