Hello,
I'm trying to get the ID value of the set of radio buttons. Here is the radio buttons.
<input id="1" type="radio" title="2" value="6/1/2010" name="vacationDay">
<input id="2" type="radio" title="2" value="6/2/2010" name="vacationDay">
<input id="3" type="radio" title="2" value="6/3/2010" name="vacationDay" checked='checked'>
Here is my script.
var updateDay = $('input[name=vacationDay]:checked').val();
It returns the value (6/3/2010) of the selected radio button just fine. I would like to get the id (3) as well. Thank you in advance for your help!