Get checked rad…

Get checked radio button value using jQuery

The below code is piece of code to get value of a radio button of a group radio button with same name.

var selValue = $(‘input[name=rbnNumber]:checked’).val();

in code “rbnNumber” is name of radio button.

you can change it to your radio button name

Advertisements
Quote