It will execute when the first Ajax request begins.
// To add a “loading” indicator image when an AJAX request starts:
$(document).ajaxStart(function(){
$(this).html(“< img src='demo_wait.gif' />“);
});
It will execute when the first Ajax request begins.
// To add a “loading” indicator image when an AJAX request starts:
$(document).ajaxStart(function(){
$(this).html(“< img src='demo_wait.gif' />“);
});