U
UKuser
Hi,
How do I loop through 5 fields each named field,
field2,field3,field4,field5 within this statement?
document.forms[0].field|whatgoeshere?|.value
For example:
for (i = 0; i < ct; i++)
{
name = escape(document.forms[0].field('1').value);
alert(name);
}
This will fail, but I need to know how I should include a changing
element after the field name titled i within my looping statement.
Thanks
A
How do I loop through 5 fields each named field,
field2,field3,field4,field5 within this statement?
document.forms[0].field|whatgoeshere?|.value
For example:
for (i = 0; i < ct; i++)
{
name = escape(document.forms[0].field('1').value);
alert(name);
}
This will fail, but I need to know how I should include a changing
element after the field name titled i within my looping statement.
Thanks
A