当前位置:网站首页>Ajax cache prevention method
Ajax cache prevention method
2022-04-23 08:25:00 【beinlife】
stay Ajax Sent URL Time stamp after parameter :'?time='+new Date().getTime()
as follows :
$.ajax({
type:'get',// Request mode
url:'/mobilemode/apps/solex/dbsy/queryToDo.jsp?time='+(new Date()).getTime(),
data:'',
dataType:'json',// The request type is json
timeout:7000,// Stop the request after the request times out
success: function(json){
var d=json.total;// direct .total obtain total attribute
$('#count').html(" To do ("+d+")");
}
});
版权声明
本文为[beinlife]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230734169156.html
边栏推荐
猜你喜欢
![[learning] audio and video development from scratch (9) -- nuplayer](/img/62/20b0d80088181fb6ff1fe842500c0a.png)
[learning] audio and video development from scratch (9) -- nuplayer

Flink SQL实现流批一体

Input / output system

CSV column extract column extraction

Qt读写XML文件

数据可视化:使用Excel制作雷达图

Qt利用QtXlsx操作excel文件

Search the complete navigation program source code

【深度好文】Flink SQL流批⼀体化技术详解(一)

通过实现参数解析器HandlerMethodArgumentResolver接口来自定义注解
随机推荐
There are some problems when using numeric type to query string type fields in MySQL
form中enctype属性
Online app resource download website source code
Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam
ASAN 极简原理
Listed on the Shenzhen Stock Exchange: the market value is 5.2 billion yuan. Lu is the East and his daughter is American
AAAI 2022 recruit speakers!!
An article understands variable lifting
分布式消息中间件框架选型-数字化架构设计(7)
怎么读书读论文
Green apple film and television system source code film and television aggregation film and television navigation film and television on demand website source code
记录:js删除数组中某一项或几项的几种方法
Install MySQL for Ubuntu and query the average score
总线结构概述
pdf加水印
Qtablewidget header customization and beautification developed by pyqt5 (with source code download)
室内定位技术对比
A simple theme of Typecho with beautiful appearance_ Scarfskin source code download
单点登录 SSO
The annotation is self-defined by implementing the parameter parser handlermethodargumentresolver interface