Re: QuickForm: Name of select Elements

From: Date: Thu, 10 Jun 2004 11:03:54 +0000
Subject: Re: QuickForm: Name of select Elements
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13065@lists.php.net to get a copy of this message
Am Do, 2004-06-10 um 11.25 schrieb Alexey Borzov: > 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. Works now. Thanks! -- Regards Marco

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