• 页面的后退、刷新、前进


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
    <script>
    function back()
    {
        history.go(-1);    //后退1页
    }
    function forward()
    {
        history.go(+1); //前进1页
    }
    function refresh()
    {
        history.go(-0);    //刷新
    }
    </script>
    </head>
    <body>
        <input type="button" value="后退" onclick="back()" />
        <input type="button" value="刷新" onclick="refresh()" />
        <input type="button" value="前进" onclick="forward()" />
    </body>
    </html>
    高否?富否?帅否? 否? 滚去学习!
  • 相关阅读:
    selectHelper
    Windows Server 2003 下实现网络负载均衡(2) (转)
    顺序栈
    线性表链式存储
    线性表顺序存储
    Swift
    组件化
    swift
    Swift
    Swift
  • 原文地址:https://www.cnblogs.com/baixc/p/3496960.html
Copyright © 2020-2023  润新知