Jquery to get the selected radio button value

Posted by Pinku under jQuery category on | Points: 40 | Views : 1261
i have 3 set of radio buttons while selecting any one of them i have to get the value of that radio.

iam using following code

Daily<input type="radio" id="rad" value="daily" />
Weekly<input type="radio" id="rad" name="case" value="weekly"/>
None<input type="radio" id="rad" name="case" value="none"/>

it alerts the radio button value first time only and multiple radio button seems to be as selected.

Comments or Responses

Login to post response