jquery after ajax complete code example
Example 1: all ajaxcomplete event
//when document load and complete all ajax response this event will fire only one time
$(document).ajaxStop(function(){
alert("All AJAX requests completed");
});
Example 2: call ajax after ajax
function func1() {
$.ajax({ ... }).done(func2);
}