Maison  >  Questions et réponses  >  le corps du texte

php - Comment accéder à une page dans JQuery?

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

répondre à tous(6)je répondrai

  • 天蓬老师

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

    window.location.href="";

    répondre
    0
  • 仅有的幸福

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

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

    répondre
    0
  • 滿天的星座

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

    window.location.href = "";

    répondre
    0
  • phpcn_u1582

    phpcn_u15822017-05-27 17:45:14

    Fenêtre.open('')

    répondre
    0
  • PHP中文网

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

    Nouvelle page : Window.open('url');
    Page actuelle ouverte : window.location.href="url";

    répondre
    0
  • 滿天的星座

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

    1. fenêtre.ouverte

    2. window.localtion, c'est en fait l'objet Location

    répondre
    0
  • Annulerrépondre