2006-11-27

HTML:网页刷新方法集合

来源: 本站 作者:佚名 评论 0 条
 

代码如下:
<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="window.navigate(location)">
代码如下:
<input type=button value=刷新 onclick="location.replace(location)">


下面这三种我就不知道该怎么用了,就把代码放在下面吧,哪位要是会的话,可教教大家。
<input type=button value=刷新 onclick="document.execCommand(@#Refresh@#)">
<input type=button value=刷新 onclick="window.open(@#自身的文件@#,@#_self@#)"> <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>


(本文仅表明作者个人观点,不代表本站及其管理员立场.) 推荐 收藏 投稿 打印 返回 关闭
上一篇:用Ajax读取XML格式的数据  
下一篇:用javascript获得地址栏参数及应用范例
    评论加载中…
 推荐文章
     

网站首页  -  网站地图 -   站长论坛  -  网站投稿  -    -  网站管理
Copyright © 2008 芜湖站长站 All Rights Reserved 皖ICP备07500611号