type="radio"
<input> element as "radio buttons"
Last updated
Was this helpful?
<input> element as "radio buttons"
Last updated
Was this helpful?
๐ฐ โฉ โฉ โฉ
JS.info โฉ โญ๏ธโญ๏ธ
- jQuery
็ฑ ('input[type="radio"]') ๆพไพ็ radio buttons ๆฏไธๅ ๏ผๆฒๆ ๅฑฌๆงโ๏ธ
็ฑ "name" ๅฑฌๆง(้้ ๏ผๅฆ๏ผform.radioName)ๆพไพ็ radio buttons ๆๆฏ , ๆๆๆ (form.radioName.value) ๅฑฌๆง๏ผไนๆๅฏไปฅๆฅ่ฉข็ฎๅ้ธๆ็ radio button ็ valueใ