Get value of radio button using jQuery
To get the value of a radio button using jQuery:
var radioButtonValue = $('input[name=sample]:checked').val();
To get the value of a radio button using jQuery:
var radioButtonValue = $('input[name=sample]:checked').val();