实现网页中增加刷新按钮、链接的方法

<a href="#" onclick="history.go(0)"><font size=3 color=white>刷新</font></a>

 

1 <input type=button value=刷新 onclick="history.go(0)">
2 <input type=button value=刷新 onclick="location.reload()">
3 <input type=button value=刷新 onclick="location=location">
4 <input type=button value=刷新 onclick="location.assign(location)">
5 <input type=button value=刷新 onclick="document.execCommand(@#Refresh@#)">
6 <input type=button value=刷新 onclick="window.navigate(location)">
7 <input type=button value=刷新 onclick="location.replace(location)">
8 <input type=button value=刷新 onclick="window.open(@#自身的文件@#,@#_self@#)">
9 <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>

 

posted @ 2012-09-20 11:12  hm21  阅读(363)  评论(0)    收藏  举报