作者sicao (adios)
看板Web_Design
標題[問題] 巢狀form
時間Wed Aug 25 10:57:37 2010
想請問一下
純html有無辦法寫成巢狀form??
<form>
input1
<form>
input2
</form>
</form>
因為input2 是select
onChnage用的是this.form.submit();
onChange不可送出input1的value
那input1 執行時
需送出input1和input2的value
請問可以做到這樣嗎
--
5L36f6d6I5207573K657273206f6E62066Y697265O666f78206172U65207375636b2e
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 211.78.167.138
推 jakevin:我也想問!! 08/25 12:04
→ opoepev:你的select改變的時候~其他地方有值一起變嗎?如果沒有的 08/25 15:59
→ opoepev:話~用一個form就好了~ form送出後會自動抓到你選的值!! 08/25 15:59
推 othree:不行 08/26 11:17
→ othree:看 Additional constraints and admonitions 08/26 11:17