![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to loop over multiple SELECT boxes. At the moment, I have 32 SELECT BOXES, all in the same form, and they are named Select0...Select31. Is there any way to 1. Get the number of SELECT boxes in the form 2. Loop over the select boxes with a for loop (ie form.Select[x]) Thanks for any help with either of these. |
#3
| |||
| |||
|
|
reevesc (AT) gmail (DOT) com (Chris) wrote in message news:<5623e982.0407231610.53fe8477 (AT) posting (DOT) google.com>... I need to loop over multiple SELECT boxes. At the moment, I have 32 SELECT BOXES, all in the same form, and they are named Select0...Select31. Is there any way to 1. Get the number of SELECT boxes in the form 2. Loop over the select boxes with a for loop (ie form.Select[x]) Thanks for any help with either of these. Nevermind, I found the solution to those interested, you can use eval("form.select" + x + ".value"); where x increments for each select box. |
![]() |
| Thread Tools | |
| Display Modes | |
| |