<input type="radio" name="yesno" value="true">
<input type="radio" name="yesno" value="false">
For the above, are there any ways to access both the radio buttons through getElementById ? I only managed to retrieve the 1st element since "yesno" is referring to the 1st element.
I know that I can do something like:
but for some reason, I need to stick with getElementById!
Thanks in advance.