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
}

Comments

Popular posts from this blog

Enable the imap in support in xampp server