Thanks Mike and Ernest for the info on how to handle the "var[]" Multiple Select name more sensibly in JavaScript.

Not even a workaround. By definition, in JavaScript x.y is identical to x['y'], so where for a simple field you might write:

document.formname.myvar.value

for a field named "myvar[]" you can write:

document.formname['myvar[]'].value
Cheers-
David

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

Reply via email to