1. cliveportman
  2. /code
  3. /get-value-of-radio-button-using-jquery

Get value of radio button using jQuery

To get the value of a radio button using jQuery:

var radioButtonValue = $('input[name=sample]:checked').val();