当前位置:主页>教程>网页设计>html语言教程>HTML教程:网页刷新方法集合

HTML教程:网页刷新方法集合
更新时间:2007-04-12 点击:

代码如下:

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




tags:

您可以: 点评它!(0条点评) 分享它!

ARTHD.COM网友点评共有0条点评,点击这里可查看):不能超过250字,请自觉遵守互联网相关政策法规。

广告位



合作伙伴

广告也精彩……

广告也精彩……