RE: [PEAR] hierselect and IDs ...

From: Date: Wed, 25 Feb 2004 09:57:28 +0000
Subject: RE: [PEAR] hierselect and IDs ...
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10922@lists.php.net to get a copy of this message
> -----Original Message----- > From: Daniel Kopp [mailto:pear@daniu.de] > > I think I asked that already but did not get an answer ... Sorry if I > overlooked it ... > > Is there a way to give the 2 select boxes of a hierselect 2 > different ids? > Because the name like it is generated by QF cannot be used in > Javascript > AFAIK I think you just need to provide a name in the array (last parameter of create/add element method). Something like:- $type[] = &HTML_QuickForm::createElement('select', 'type', null, $cards, array('tabindex' => 1, 'id' => 'chipshop')); Bye, Mike. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

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