Using javascript with php
| From: | Sugrue, Sean | Date: | Wed, 15 Feb 2006 22:10:53 +0000 |
| Subject: | Using javascript with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-230472@lists.php.net to get a copy of this message | ||
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