In my script I used to test the value of the radio button to verify which button was selected. I was able to do that because all the buttons have the same name. If I want to use the the proper
- document.getElementById()
notation.
Will I have to:
1) assign a unique id to each button
2) test if that id is "checked"
Or is it proper to use
- document.getElementByName()
and then test the value in the same manner I did before?