IE以缓存闻名。确保没有收到缓存的响应。您可以将
cache属性值设置为,
false也可以将唯一的时间戳记添加到url,这样它就不会成为缓存的响应。您可以使用该
$.now()方法来获得唯一的时间戳。
设置缓存属性
$.ajax(url, { dataType: 'json', cache : false, //Other things ...}为网址添加唯一的时间戳
var url="somePage.php?"+$.now();//Use this url now for making the ajax call
该
$.now()方法是表达式返回的数字的简写
(new Date).getTime()



