Why can't radio buttons be “readonly”?

前端 未结 13 1223
误落风尘
误落风尘 2020-11-27 10:45

I would like to show a radio button, have its value submitted, but depending on the circumstances, have it not editable. Disabled doesn\'t work, because it doesn\'t submit t

13条回答
  •  失恋的感觉
    2020-11-27 11:11

    What about capturing an "On_click()" event in JS and checking it like here?:

    http://www.dynamicdrive.com/forums/showthread.php?t=33043

提交回复
热议问题