I am attempting to write a validation function in JavaScript for a form that contains several radio buttons. I have tried to access the value using:
document.all.item("radiobuttongroup").value
but this just returns "undefined"... how can I get the value of the currently selected button in this group?