看板 PHP 關於我們 聯絡資訊
ling.php" method="post" name="mailform"> ^Error: there is no attribute name for this element (in this HTML version) 表單可以通過檢測,但是form不行,如果沒有name又無法用js控制, 要怎麼改呢? 3Q -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.132.202.165
wawawa:用id 01/05 01:16
gckenny:document.forms[0] 01/05 08:50
picachuxyz:請問這是什麼意思....document.forms[0]....? 01/05 15:29
gckenny:指向第一個form,這樣form就算沒有name也能操作... 01/05 16:32
gckenny:上面是用js時的用法 01/05 16:36