.net 2005
来源:百度知道 编辑:UC知道 时间:2024/05/21 19:54:17
在.net下怎么刷新页面呀,急~!~是什么命令呀~!
<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)>
以上是HTML的方式让网页刷新。