I have a webpage where ajax calls trigger an overlay using jQuery like so:
$(document).on({ ajaxStart: function() { $("body").addClass("loading"); }, ajaxStop: function() { $("body").removeClass("loading"); } }); This is fine for me, however there are a couple of ajax calls in the page which are background jobs and I do not want the loading message to be shown for those ajax call.
Is there a way to achieve this?