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:
$.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) {
});
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