<input type='text' name='foo1bar' />
<input type='text' name='foo2bar' />
If I wanted to set a value for both of these in a for loop how would I
go about referencing these elements with a changing value... that is:
What would be functionally equivalent but actually working of this:
for(i = 1;i <= 2;i++) {
document.formfromabove.foo+i+bar.value;
}
The 'foo+i+bar' part obviously doesn't work. What would I have to do to
actually achieve such a thing?