php code that will read value from radio button when selected code example
Example: How to Get Radio Button Value in PHP Without Submit
$('input[type=radio]').click(function(e) {
var gender = $(this).val();
$('.result').html(gender);
});