Re: QuickForm: Problem enabeling and disabeling Date fields with Javascript
| From: | Valery Krizhevich | Date: | Thu, 10 Feb 2005 08:34:27 +0000 |
| Subject: | Re: QuickForm: Problem enabeling and disabeling Date fields with Javascript | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17473@lists.php.net to get a copy of this message | ||
Your way is better than mine.
Sorry, I read your letter badly.
Best regards,
Valeriy Krizhevich
> Frustratingly, PHP requires invalid form field names if you want the info
to
> end up in an array. This JavaScript syntax seems to work ok, though:
>
> var field = document.forms['form_name']['field_name']
>
> Best,
> Nick.
>
> -------------------------------
> Nick Nettleton
> web: www.plumdigitalmedia.com
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>