Arrays as form elemtents

Giganews Newsgroups
Subject: Arrays as form elemtents
Posted by:  szar (no…@nowhere.net)
Date: Wed, 10 Sep 2003

I'm passing numerous array elements called list[] when a form is submitted.
the brackets [ ] are necessary for PHP to see all the values as an array.
The problem is I can't seem to reference the form elements from javascripts
because of the brackets. For example,
form.list[].value is no good. Anyone know a way around this? Thanks.

Replies