怎么样用js刷新页面 1.修改一下IE设置:tools--->>>internet options--->>>general--->>>settings--->>>选中:every vesit to the page 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 2.禁用客户端缓存:http://expert.csdn.net/Expert/topic/2885/2885488.xml?temp=.3812677回复人: meizz(梅花雪) ( ) 信誉:690 2004-3-25 15:00:01 得分:30 禁用客户端缓存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); 3.在网址后加随机数.即:将这句:location.href='b.php'改成:location.href='b.php?temp='+Math.random() 求高手写一功能的javascript 求助:两个html页面上传输值怎么弄 JS学习方法,学习地址或者实例都可。 JS随机显示的问题?求高手帮忙! 正则问题 关于JS输出HTML问题,头疼!!! 高分!!求这样的简单代码 可不可以给我推荐一本JAVAscript的好书??????????? 我想用键盘按键来翻页,不知道如何写??请高人指点!!! 这样的功能如何实现??? JS或VBS可以获得本机的IP和机器名、网卡MAC吗? if ((你遇到过这样的问题)||(你javascript很强)) {请指教} else {请共同探讨}
http://expert.csdn.net/Expert/topic/2885/2885488.xml?temp=.3812677回复人: meizz(梅花雪) ( ) 信誉:690 2004-3-25 15:00:01 得分:30
禁用客户端缓存
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);
即:
将这句:
location.href='b.php'
改成:
location.href='b.php?temp='+Math.random()