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

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -