几种页面刷新常用代码(js)


<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('url','_self')">
<input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
posted @ 2006-11-26 13:10  刘杨兵  阅读(214)  评论(0编辑  收藏  举报