I want to get the selected value from a group of radio buttons.
Here\'s my HTML:
Simply use: document.querySelector('input[rate][checked]').value
document.querySelector('input[rate][checked]').value