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

dwz How to remove ajaxloading specific code_javascript skills

WBOY
Release: 2016-05-16 17:33:22
Original
900 people have browsed it

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) {
});
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template