点击button刷新的几种常用代码
来源:互联网 发布:solidworks软件下载64 编辑:程序博客网 时间:2024/06/05 21:11
<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)>
阅读全文