齐心 2006-5-27 23:31
11种刷新按钮的方法
<p><input type=button value=刷新 onclick="history.go(0)"><br/><input type=button value=刷新 onclick="location.reload()"><br/><input type=button value=刷新 onclick="location=location"><br/><input type=button value=刷新 onclick="location.assign(location)"><br/><input type=button value=刷新 onclick="document.execCommand('Refresh')"><br/><input type=button value=刷新 onclick="window.navigate(location)"><br/><input type=button value=刷新 onclick="location.replace(location)"><br/><input type=button value=刷新 onclick="window.open('自身的文件','_self')"><br/><input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)> <br/><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT><br/><form action="自身的文件"><br/><input type=submit value=刷新><br/></form><br/><a id=a1 href="自身的文件"></a><br/><input type=button value=刷新 onclick="a1.click()"></p>