How to apply groupname to HTML radio buttons in asp.net? -
can please tell how apply group name html (input) radio button controls can select 1 of available radio buttons?
i have input radios in table. each row contains 2 radios follows. want select 1 each row. able select 1 radio button amongst radio buttons present on rows.
<input name="radiobutton" type="radio" value="radiobutton" />option1 <input name="radiobutton" type="radio" value="radiobutton" />option2
what change have make select 1 radio button on each row?
thanks, ~kaps
as far know, radiobuttons in html not have group names. html "name" attribute is group name.
it important verify each radiobutton has unique "value" attribute. otherwise there no way tell of duplicate values selected:
<input name="radiobutton" type="radio" value="radiobutton1" />option1 <input name="radiobutton" type="radio" value="radiobutton2" />option2
Comments
Post a Comment