天天看點

網頁重新整理方法集合

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

其它相關: