Home  >  Q&A  >  body text

php - How to jump to page in jquery?

$.post(url,{name:'xxx',psw:'xxx'}, function(result)
           {
                if (result)
                {
                    //跳转至php页面 
                }
           }, 'json'); 
           
如何跳转至php页面?
伊谢尔伦伊谢尔伦2702 days ago466

reply all(6)I'll reply

  • 天蓬老师

    天蓬老师2017-05-27 17:45:14

    window.location.href="";

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-27 17:45:14

    window.location = "http://www.42du.cn";

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-27 17:45:14

    window.location.href = "";

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-27 17:45:14

    Window.open('')

    reply
    0
  • PHP中文网

    PHP中文网2017-05-27 17:45:14

    New page: Window.open('url');
    Current page open: window.location.href="url";

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-27 17:45:14

    1. window.open

    2. window.localtion, this is actually the Location object

    reply
    0
  • Cancelreply