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

How to remove ajaxloading in dwz (graphic tutorial)

亚连
亚连Original
2018-05-22 09:56:271839browse

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!

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