随笔-3  评论-26  文章-41  trackbacks-0
强制载入后刷新一次
<script>
if(window.name != "bencalie"){
    location.reload();
    window.name 
= "bencalie";
}

else{
    window.name 
= "";
}

</script>

也可禁止缓存,重新进入页面
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">

返回上一页代码
<href="Javascript:window.history.go(-1)">返回上一页</a>
posted on 2008-09-14 08:41 百年 阅读(1794) 评论(2)  编辑  收藏 所属分类: Javascript Article

评论:
# re: 单击放回上页的按钮或使用window.history.go(-1)返回上页的同时刷新"上页"技术[未登录] 2008-11-28 16:17 | hh
感谢你的贡献!  回复  更多评论
  
# re: 单击放回上页的按钮或使用window.history.go(-1)返回上页的同时刷新"上页"技术 2008-12-11 22:10 | 熊伟
你好!
我下载的ASP怎么打不开!  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: