<input type=button onclick=history.go(0)>

解决方案 »

  1.   

    请问seabell(百合心)
    这种写法必须在<FRAME></FRAME>包含中,是吗?
      

  2.   

    <input type=button value=F5 onclick='location=location'>
    <input type=button value=F5 onclick='location.reload(true)'>
    <input type=button value=F5 onclick='document.execCommand("refresh")'>
      

  3.   

    <input type=button onclick="javascript:location.reload()" value=刷新>
      

  4.   

    或者用 <a href="javascript:location.reload()">刷新</a>
    注:这些代码无论放在网页的任何位置都可以。
      

  5.   

    如果你只需要刷新iframe,则可将刷新按钮放在iframe中,如
    <iframe id=ifrm src="about:ok<input type=button onclick=history.go(0)>"><iframe>