jquery ajax complete not on document but on element code example
Example: 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");
});