syntax for form with name id[1] in it
Hi all,
I'm trying to use this:
document.form1.id[1].value=x
to set the value of a select control on a form that is named id[1]. It doesn't work and complains that form1.id.1 does not exist. If I ditch the [] brackets than it works but I can't rename the control because it is part of OSCommerce.
How do I encapsulate the id[1] so that it is treated literal.
The on_click event is being triggered from outside the form so I can't use this keyword.
I suck...so help me!
TIA,

