get the value from radio button in javascript code example Example: get radio button value javascript Click to copydocument.querySelector('input[name="rate"]:checked').value;