Jquery AjaxStart and AjaxEnd bind
jquery -- Posted on July 14, 2018
Jquery bind AjaxStart and AjaxEnd to document ready function
1 2 3 4 5 6 7 | $(document).ready(function(){
$(document).ajaxStart(function() {
$('#loading').fadeIn(500);
}).ajaxStop(function() {
$('#loading').fadeOut(500);
});
})
|