Simple javascript...have i gone mad???
Posted: Wed Jun 22, 2005 4:30 am
Right, i think i have gone mad or something becuase i have completely forgotten how to do this
tkae this as an example...arrayData contains a list of radio button names
how do i indicate arrayData is NOT the name of the radio button, but infact the string in that array index is the name.

tkae this as an example...arrayData contains a list of radio button names
Code: Select all
for( i in arrayData ) {
if (document.survey.arrayDataїi].checked == false) {
errorCheck = 1;
}
}