get the value of checked rsdio button js code example
Example: javascript on click radio button get value
if (document.getElementById('r1').checked) {
rate_value = document.getElementById('r1').value;
}
if (document.getElementById('r1').checked) {
rate_value = document.getElementById('r1').value;
}