Re: php and javascript
| From: | Marek Kilimajer | Date: | Tue, 12 Apr 2005 00:04:45 +0000 |
| Subject: | Re: php and javascript | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212869@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
On Mon, April 11, 2005 4:23 pm, Jared Williams said:That was a long time ago. Try it now.Hmm, document.forms['Selection'].elements['distID[]'][0].value is perfectly valid, and should work in any decent browser. There is also document.getElementsByName()Didja try it? Cuz every time *I* ever tried it (back in Browser Wars 3.0/4.0 days, mind you) the JavaScript would see the [] as an array reference and *NOT* as part of the name.