您现在的位置: 圆点视线 >> 教程 >> 网页设计 >> html教程 >> 文章正文
HTML教程:网页刷新方法集合           ★★★
HTML教程:网页刷新方法集合
作者:hairan  文章来源:网页教学网  点击数:  更新时间:2007-9-14 10:13:18 
 页面功能:【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口 【字体:

代码如下:

<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="window.navigate(location)">

代码如下:

<input type=button value=刷新 onclick="location.replace(location)">

下面这三种我就不知道该怎么用了,就把代码放在下面吧,哪位要是会的话,可教教大家。

<input type=button value=刷新 onclick="document.execCommand(@#Refresh@#)">
<input type=button value=刷新 onclick="window.open(@#自身的文件@#,@#_self@#)">

<input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>

 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 文章录入:hairan    责任编辑:hairan  【字体:
 
  • 上一篇文章:

  •  
  • 下一篇文章:
  • 最新文章
    相关文章
    没有相关文章
    网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    发表评论:
     姓  名: 评 分: 1分 2分 3分 4分 5分
     评论内容: ·严禁发表危害国家安全、政治、黄色淫秽等内容的评论。
    ·用户需对自己在使用本网服务过程中的行为承担法律责任
    ·本站管理员有权保留或删除评论内容。
    ·评论内容只代表机友个人观点,与本网站立场无关。
     
    最 新 推 荐
     
    百度主题推广
    最 新 热 门