showModalDialog()打开的窗口中的页面总是用IE的缓存,页面修改后要重启IE才能改变,怎么办? 沒試過不知道行不行加上<body onload="self.location.href='#'"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 检查以下ie的设置: internet(选项)-->常规-->设置--> 是否设为:每次访问此页时检查 楼上的方法是可以的.但是最好的方法就是用 awaysrain(绝对零度) 的方法 加一个类似?temp=.5245325的随机数 在页面开头增加一句<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 我也加过随机数?temp=Math.random()但没有效果 在 head 区内加入去除缓存的代码:禁用客户端缓存HTML <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> <META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT">ASP<% Response.Expires = -1 Response.ExpiresAbsolute = Now() - 1 Response.cachecontrol = "no-cache"%>PHP header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache");JSP response.setHeader("Pragma","No-Cache"); response.setHeader("Cache-Control","No-Cache"); response.setDateHeader("Expires", 0); JS做分页跳转问题 如何用 Ext 实现上传文件到服务器! 后台语言C# 问一个菜鸟级别的js小问题 论坛关键字屏蔽技术 图片的js问题 setAttribute的问题 正则表达式问题(偶一分也没有了,希望哪个大虾帮忙解决一下) 高手帮忙!我写的这个ajax表单提交模块是否存在内存泄漏问题?如能找到此bug百分相赠! 如何使用js访问客户端文件 IE6.0下,如何让一个窗口自动关闭 求一个javascript日期函数,急,请快一点,谢谢 超简单问题 在线等 马上给分
internet(选项)-->常规-->设置-->
是否设为:每次访问此页时检查
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
?temp=Math.random()
但没有效果
禁用客户端缓存
HTML
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT">
ASP
<%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
%>
PHP
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
JSP
response.setHeader("Pragma","No-Cache");
response.setHeader("Cache-Control","No-Cache");
response.setDateHeader("Expires", 0);