Re: php and javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch wrote:
On Mon, April 11, 2005 4:23 pm, Jared Williams said:

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.

That was a long time ago. Try it now.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux