Re: Using javascript with php
| From: | Richard Lynch | Date: | Thu, 16 Feb 2006 22:22:43 +0000 |
| Subject: | Re: Using javascript with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230599@lists.php.net to get a copy of this message | ||
getElementByID()
On Wed, February 15, 2006 4:10 pm, Sugrue, Sean wrote:
> To all,
>
> I have a check box input which I assign an array to the name. I want
> to
> pass the array to a javascript and based on a certain criteria check
> the box. I use the syntax:
> formname.elements['array[]'][index].checked=
> true. It works with IE but since my buddy added an html validator
> to a config file we all use and now the code will not work in Firefox.
> Does anyone out there perform this task differently? Any suggestions?
>
> Sean
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm