TheSomeone
Newbie
- Joined
- Dec 24, 2004
- Messages
- 2,186
- Reaction score
- 0
Knowing how many there are how can i access all the fields like this:
document.myForm.var1.value
document.myForm.var2.value
etc...
How can I do this using a for loop? Is it even possible? basically, can I replace "var1" or "var2" by a string which changes every iteration of the loop?
Thanks for your help.
document.myForm.var1.value
document.myForm.var2.value
etc...
How can I do this using a for loop? Is it even possible? basically, can I replace "var1" or "var2" by a string which changes every iteration of the loop?
Thanks for your help.