The following is a detailed introduction to the specific removal method. Friends who are interested can take a look.
I recently used dwz to do projects. Sometimes I don’t want to use dwz loading when using ajax.
So it’s just like removing it, it’s very simple, it only requires one line of code:
$.ajaxSettings.global=false;
Just add this line of code in front of ajax: The following is my code
$.ajaxSettings.global=false; $.getJSON(show.conf.url, show.conf.data, function(d) { });
The above is me I compiled it for everyone, I hope it will be helpful to everyone in the future.
Related articles:
ajax Detailed explanation of the steps to implement waterfall flow layout (with code)
Detailed explanation of the use of AJAX request queue
##JS implementationajaxCalling background definition (with code)
The above is the detailed content of How to remove ajaxloading in dwz (graphic tutorial). For more information, please follow other related articles on the PHP Chinese website!