当前位置:开发者网络 >> 技术教程 >> 网页设计 >> HTML/CSS >> 内容
精彩推荐
分类最新教程
分类热点教程
  
实现页面中按钮刷新的N种方法
作者:未知
日期:2005-05-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="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)>

相关文章: