javascript - What event fires when an AJAX request is sent? -
what handler should use catch moment when ajax request has been sent server within document.ready
?
i think you're looking .ajaxcomplete()
.
$('#el').ajaxcomplete(function() { … });
edit
try this:
$(window).ajaxcomplete(function() { … });
note: these work if ajax request sent jquery.
Comments
Post a Comment