You can use something like this:
variable = documents.forms[0].elements['foo[]'];

"Zeev Suraski" <[EMAIL PROTECTED]> wrote in message
> At 19:20 10/5/2001, Andrei Zmievski wrote:
> >On Thu, 10 May 2001, Zeev Suraski wrote:
> > > Why does it make more sense?  Is there any advantage in using this
> > > using foo[]?  By changing this behavior, we're actually losing
> > > functionality, not adding any.
> >
> >Interaction with Javascript is problematic if you use [] in the variable
> >name. That's one disadvantage.
> With no easy workaround such as \[\] or something like that?
> Zeev

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to