This may seem silly and downright stupid but I can\'t seem to figure out how to check the value of a radio button group in my HTML form via JavaScript. I have the following
If you wrap your form elements in a form tag with a name attribute you can easily get the value using document.formName.radioGroupName.value.
Male Female