Guest_imported
New member
- Jan 1, 1970
- 0
I understand how to iterate through a set of radio buttons to get the value for the one selected by using something like this:
for (i = 0; i < document.formname.radiogroup.length; i++)
However, on IE 5.0, if you have only one radio button in the group, this technique appears to break. The value I get returned for the radiongroup.length is undefined?? Has anyone else seen this strange behavior, and if so, is there a work around?
for (i = 0; i < document.formname.radiogroup.length; i++)
However, on IE 5.0, if you have only one radio button in the group, this technique appears to break. The value I get returned for the radiongroup.length is undefined?? Has anyone else seen this strange behavior, and if so, is there a work around?