Home > Web Front-end > JS Tutorial > How to remove ajaxloading in dwz (graphic tutorial)

How to remove ajaxloading in dwz (graphic tutorial)

亚连
Release: 2018-05-22 09:56:27
Original
1952 people have browsed it

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;
Copy after login

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) { 
});
Copy after login

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!

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