RE: [PHP] Novice Question
| From: | Ford, Mike [LSS] | Date: | Tue, 19 Feb 2002 13:18:12 +0000 |
| Subject: | RE: [PHP] Novice Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85387@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Martin Towell [mailto:martin.towell@world.net]
> Sent: 18 February 2002 22:44
> To: 'JSheble'; php-general@lists.php.net
>
> window.document.frmName.elements["poly[]"].value !!!
This should also work (well, it has for me in the past!):
window.document.frmName["poly[]"].value
since in JavaScript the syntax a.b is, by definition, exactly equivalent to a["b"].
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211