[Javascript] How do you cycle thru the radio buttons on awebform ?
Chris T
christ at saeweb.com
Wed Jun 2 08:03:14 CDT 2004
> I got this script so far, but cannot read the length of the radio objects
>
> for(var z = 0; z < window.document.frmSurvey.length; z++){
>
> if ( window.document.frmSurvey[z].type == 'radio' )
> {
> var CurRadioChecked=false
Doesn't that bit of code loop through all the FORMS on a page, not the
elements within a form? From the looks of it, I'd say yes.
More information about the Javascript
mailing list