Menu
is it possible to loop through form elements like how you would loop through forms on page? i’m thinking the code should look like this:
var x;
for (x = 0; x < 29; x++) {
var temp = (document.tea_lab.elements[x].options[document.tea_lab.elements[x].selectedIndex].value);
//then do something with temp
}
but it doesnt seem to be parsing the variable x. any help would be great. thanks