show loader till the last ajax request is not completed
ajaxstop : Whenever an Ajax request completes, jQuery checks whether there are any other outstanding Ajax requests. If none remain, jQuery triggers the ajaxStop event
$(document).ajaxStop(function () {
// jquery to hide your loader
}
$(document).ajaxStop(function () {
// jquery to hide your loader
}
Comments
Post a Comment