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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -