11种刷新按钮的方法

1<input onclick="history.go(0)" type="button" value="刷新"/>
1<input onclick="location.reload()" type="button" value="刷新"/>
1<input onclick="location=location" type="button" value="刷新"/>
1<input onclick="location.assign(location)" type="button" value="刷新"/>
1<input onclick="document.execCommand('Refresh')" type="button" value="刷新"/>
1<input onclick="window.navigate(location)" type="button" value="刷新"/>
1<input onclick="location.replace(location)" type="button" value="刷新"/>
1<input onclick="window.open('自身的文件','_self')" type="button" value="刷新"/>
1<input onclick="document.all.WebBrowser.ExecWB(22,1)" type="button" value="刷新"/>
1<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="WebBrowser" width="0"></object>
1<form action="自身的文件">
2<input type="submit" value="刷新"/>
3</form>
1<a href="自身的文件" id="a1"></a>
1<input onclick="a1.click()" type="button" value="刷新"/>
Published At
Categories with Web编程
comments powered by Disqus