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