网页刷新方法集合 收藏
代码如下:

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


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/21aspnet/archive/2007/03/24/1539704.aspx

posted on 2009-09-13 21:55  sinbad_li  阅读(184)  评论(0编辑  收藏  举报