Re: QuickForm: Name of select Elements

From: Date: Thu, 10 Jun 2004 09:25:13 +0000
Subject: Re: QuickForm: Name of select Elements
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13064@lists.php.net to get a copy of this message
Hi, Marco Schuler wrote:
Why does QF add these square brackets?
Because.
I have to pass the name of the element to JavaScript within an array and that does not work with the name that QF returns as well as when I add the square brackets to the returned name. Can somebody point me how I can handle this?
Yes, add id attribute to your select and access it via JS DOM methods.

« previous php.pear.general (#13064) next »