Home > Web Front-end > JS Tutorial > Solutions to the impact of Ajax caching in Jquery_jquery

Solutions to the impact of Ajax caching in Jquery_jquery

WBOY
Release: 2016-05-16 18:06:36
Original
1013 people have browsed it

There will be a cache problem when using the load method in jquery or ajax to call the page. How to clear the cache:

Call the $.ajaxSetup ({cache:false}) method.

Copy code The code is as follows:


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