[問題] target="main"
我在index.php做了一個表格
<form id="ref" action="fight.php" method="post" target="fight">
然後fight.php中寫的表格
<form id="ref" action="newindex.php" method="post" target="main">
想說因為target=main
所以會submit回原本index的那一頁
但是沒想到它開新視窗了
如果用
<form id="ref" action="newindex.php" method="post" target="_parent">
的話會開在自己的視窗裡面
兩個都不是我要的效果
請問有什麼方式可以做出我要的效果呢?
謝謝
--
◤ __ \__◣ ◢◤◢◤ ψhirabbitt
◢ ◤ ◢███◣ ◢███◣
和妳的約定 █████ █████ 不變心的約定
██●█● █▇███
是變心的約定 ██╱╲ ●◥█████◣● 是我和自己的約定
◥╱█╱╱ ● ◥████ ˇ
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.13.127.91
→
06/27 21:09, , 1F
06/27 21:09, 1F
→
06/27 21:19, , 2F
06/27 21:19, 2F