Check when Ajax call is started and finished

$(document).ajaxStart(function() {
    console.log('Ajax call started');
});
$(document).ajaxComplete(function() {
    console.log('Ajax call completed');
});

Leave a Reply

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