How to detect all ajax request complete on the page?

Sometimes we do need an operation after the page fully loaded.  This we can check with $ajaxStop() handler of the jquery.

$( document ).ajaxStop(function() {
    $( ".message" ).text( "Page load complete." );
});

 


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *