javascript select radio button by name code example
Example 1: jquery get value radio by name
var value = $('input[name="name_of_your_radiobutton"]:checked').val();
Example 2: jquery select radio by name
$("input[type='radio'][name='theme']").click(function() {
var value = $(this).val();
});