Hi, I have radio button group with 2 buttons, Yes and No. Few things:
1) How do I attach JS event to fire when user clicks Yes
2) In JS code, how can I check the value of the radio button group, basically if Yes or No is selected?
I am using ASP.NET radio button group, but here is the HTML generated
Thanks!!!
1) How do I attach JS event to fire when user clicks Yes
2) In JS code, how can I check the value of the radio button group, basically if Yes or No is selected?
I am using ASP.NET radio button group, but here is the HTML generated
Code:
<table id="rdReseller" border="0">
<tr>
<td><input id="rdReseller_0" type="radio" name="rdReseller" value="0" /><label for="rdReseller_0">Yes</label></td><td><input id="rdReseller_1" type="radio" name="rdReseller" value="1" checked="checked" /><label for="rdReseller_1">No</label></td>
</tr>
</table>
Thanks!!!