[問題] ie6

看板Web_Design作者 (為你鍾情)時間14年前 (2009/11/30 14:09), 編輯推噓1(103)
留言4則, 2人參與, 最新討論串1/1
剛接觸網站不久 問的問題可能有點笨~~>< 不過爬文一下 + google都沒查到想要的答案 不知道是不是關鍵字用錯的關係 想請問一下 我用php寫form 用post的方法傳遞 <body onLoad="document.sendok.submit();"> <form name="sendok" method="post" action="sendok_contacts.php"> <table width="100%" border="0" class="content-w"> <tr> <td width="12%"><input name="address" type="hidden" id="address" value="<?php echo $_POST['address']; ?>"> <input name="tel" type="hidden" id="tel" value="<?php echo $_POST['tel']; ?>"> <input type="submit" name="Submit" value="ok"> </td> </tr> </table> </form> </body> 在ie 7 以及 ie 8都是正常的 不過在ie 6上 post的值都抓不到 想請問這是什麼原因 是我哪裡寫錯嗎?? 謝謝回答喔^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.130.185.226 ※ 編輯: Dabiner 來自: 220.130.185.226 (11/30 14:11)

11/30 21:38, , 1F
之前也遇過 一直亂試 把input tag的name和id設成不同就好了
11/30 21:38, 1F

11/30 21:38, , 2F
蠻莫名奇妙的...可以試試看
11/30 21:38, 2F

11/30 23:10, , 3F
有這段code跑出來的source嗎?y
11/30 23:10, 3F

11/30 23:11, , 4F
另外 , 對你結果的那一頁下 print_f($_POST) 看看
11/30 23:11, 4F
文章代碼(AID): #1B4s6AOH (Web_Design)