实现页面中按钮刷新的N种方法

时间:2007-02-03 11:06:00 

 

<input type=button value=刷新 onclick="history.go(0)"> 
<input type=button value=刷新 onclick="location.reload()"> 
<input type=button value=刷新 onclick="location=location"> 
<input type=button value=刷新 onclick="location.assign(location)"> 
<input type=button value=刷新 onclick="document.execCommand('Refresh')"> 
<input type=button value=刷新 onclick="window.navigate(location)"> 
<input type=button value=刷新 onclick="location.replace(location)"> 
<input type=button value=刷新 onclick="window.open('自身的文件','_self')"> 
<input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)> 


演示:


标签:刷新
0
投稿

猜你喜欢

  • 带农历及节日的js日历源码

    2010-08-01 17:38:00
  • ASP防盗链及防下载的方法

    2007-09-19 12:22:00
  • asp将table生成excel文件(xls)

    2011-03-07 11:17:00
  • delete from online where datediff

    2009-06-07 18:46:00
  • CSS网页布局扩展小技巧

    2010-06-03 12:13:00
  • javascript 跨浏览器的事件系统

    2010-07-28 19:34:00
  • ORACLE 正则解决初使化数据格式不一致

    2009-05-24 19:44:00
  • sqlserver 触发器学习(实现自动编号)

    2012-10-07 10:58:03
  • Dreamweaver制作网页幻灯片效果

    2010-07-06 13:48:00
  • asp下用OracleInProcServer完成对Oracle的连接和操作

    2008-04-13 07:10:00
  • Opera下的max-width BUG

    2010-06-26 12:51:00
  • 利用索引提高SQL Server数据处理的效率

    2009-01-08 15:32:00
  • 浅淡BANNER设计

    2010-09-25 18:37:00
  • 文字适度阅读的宽度或者字数

    2007-10-26 07:31:00
  • discuz 2.0整合asp系统,用户添加函数

    2011-04-02 11:08:00
  • 我的页面制作方法

    2008-03-23 13:51:00
  • Javascript程序优化

    2008-06-02 13:12:00
  • MYSQL教程:检查数据表和修复数据表

    2009-03-11 15:24:00
  • MySQL数据库磁盘优化

    2008-11-24 17:29:00
  • SQL Server 2005 Express混合模式登录设置

    2009-02-23 13:55:00
  • asp之家 网络编程 m.aspxhome.com