Re: Re: upgrade-all broke something
| From: | Bertrand Mansion | Date: | Fri, 06 Oct 2006 16:21:29 +0000 |
| Subject: | Re: Re: upgrade-all broke something | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25368@lists.php.net to get a copy of this message | ||
Troy Cregger wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>sorry, code is here.
>$t = &HTML_QuickForm::createElement('checkbox', 'ckItem',
>'Select:',
>null, array('checked' => '', 'onClick' =>
>'javscript:update();', 'class'
>=> 'checkbox'));
I doubt it can work with 'javscript:' ...
Furthermore, you should use setDefaults() to set the checked status of your
element, but that's up to you.
--
Bertrand Mansion
http://www.mamasam.com - creative internet solutions
http://golgote.freeflux.net - blog