[Javascript] Radio button and Netscape 6
Teo Petralia
t.mattiozzi at auckland.ac.nz
Mon Apr 9 01:16:23 CDT 2001
Hi to all!
I'm using this function to find out between a set of radio button which
one is selected, it works well in all Netscape Navigator and
comunicator but doesn't work in Netscape 6.
Does anyone knows how to modify it:
function getSelectedButton(buttonGroup){
for (var i = 0; i < buttonGroup.length; i++) {
if (buttonGroup[i].checked) {
return i
}
}
return 0
}
and how to get the value of the selected button??
Thanks
Teo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 493 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010409/cb395588/attachment.bin>
More information about the Javascript
mailing list