打印本文 打印本文 关闭窗口 关闭窗口
实现页面中按钮刷新的N种方法
作者:武汉SEO闵涛  文章来源:敏韬网  点击数771  更新时间:2009/4/23 11:12:12  文章录入:mintao  责任编辑:mintao

    <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)>


打印本文 打印本文 关闭窗口 关闭窗口