Home  >  Article  >  Web Front-end  >  dwz How to remove ajaxloading specific code_javascript skills

dwz How to remove ajaxloading specific code_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:33:22882browse

I recently used dwz to do projects. Sometimes I don’t want to use dwz loading when using ajax.
So just like removing it, it’s very simple, just one line of code:

Copy the code The code is as follows:

$.ajaxSettings.global=false;

Just add this line of code in front of ajax: The following is my code
Copy code The code is as follows:

$.ajaxSettings.global=false;
$.getJSON(show.conf.url, show.conf .data, function(d) {
});
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn