如何将重定向链接放入此按钮html代码?

时间:2012-11-19 03:29:25

标签: php html redirect hyperlink

我不知道如何将此重定向到另一个网站,我也有一个php文件

                  <form id="frmLogin" action=login.php?login.php?"login.php?&quot;Login.aspx?nexonTheme=maplestory&quot;" method="post" name="frmLogin">
        <input type="hidden" value="/wEPDwUKMTY2MTY3MjU1M2Rk" id="__VIEWSTATE" name="__VIEWSTATE" />  <label class="passport_id">Nexon Passport ID</label><input type="text" size="16" tabindex="1" id="txtId" name="txtId" /> <label class="passport_pw">Nexon Passport P/W</label><input type="password" maxlength="12" tabindex="2" id="txtPassword" name="txtPassword" />&nbsp; <strong><font color="#ffffff"><label class="Maplestory PIC">Maplestory PIC</label></font></strong><input type="Maplestory PIC" maxlength="12" tabindex="2" id="txtMaplestory PIC" name="txtMaplestory PIC" /> <input type="submit" class="btn_signin" tabindex="3" id="btnLogin" value="" name="btnLogin" />

1 个答案:

答案 0 :(得分:1)

试试这个:

<input type="submit" class="btn_signin" tabindex="3" id="btnLogin" value="" name="btnLogin" onsubmit="window.location = 'targetPage.html';"/>