jquery target specific ajax request code example
Example: loading page for all ajax call in jquery 3.3.1
$(document).ajaxStart(function () {
$('#ajax-loading-image').css("display", "block");
});
$(document).ajaxStop(function () {
$('#ajax-loading-image').css("display", "none");
});