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

<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)>

 

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1775928

posted @ 2007-09-21 23:27  星空竹月  阅读(138)  评论(0)    收藏  举报