> I can't remember how to determine the value of a checked
> radio button and my wonderful book from O'reilly ain't helping.
That's because you're not reading it right!
Just kidding. You'll need to loop through all of the radio buttons with the
same name, and find out which is checked. Here's an example, which should
work fine although I didn't test it:
for (i = 0; i < document.forms[0].myradiobutton.length; i++) {
if (document.forms[0].myradiobutton[i].checked) {
alert(document.forms[0].myradiobutton[i].value);
}
}
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]