jQuery radio button group get value
Share
Simple jQuery code snippet to get the chosen value from a radio button group.
$('input:radio[name=theme]:checked').val();
or when it is selected try:
$('input:radio[name=theme]').click(function() {
var value = $(this).val();
});