2012-11-19 20 views
-3

我不知道如何使這個這個重定向到另一個網站,我也有一個PHP文件如何將重定向鏈接放入此按鈕的html代碼?

    <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

什麼是你的問題? –

+1

你的動作「login.php?login.php?」login.php? " Login.aspx?nexonTheme = maplestory "「是不是很接近符合要發佈到外部網站您需要一個完整的網址 –

+0

結帳標題();發送原始標題到瀏覽器應該工作 – Digitalis

回答

1

試試這個:

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

感謝它的制定出來 –

相關問題