• Javascript 页面跳转方法


    //在当前页面打开

    location.href="http://www.google.cn/";

    window.location.href="http://www.google.cn/";

    //后退到前一页面

    history.go(-1);

    //在新页面打开

    window.open('http://www.google.cn/','','height=500,width=611,scrollbars=yes,status=yes');

    每天学习一点点!

  • 相关阅读:
    605
    603
    509
    7-5
    6-5
    5-6
    5-3
    5-4
    5-5
    4-12
  • 原文地址:https://www.cnblogs.com/smallfa/p/1755407.html
Copyright © 2020-2023  润新知