[Javascript] Error: missing name after . operator

diego nunes dnunes at gmail.com
Fri Oct 28 11:31:15 CDT 2005


On 28/10/05, Laurent Muchacho <elmuchacho at gmail.com> wrote:
> I disagree with your statement, The form collection object was here since
> the begining and all browser support it.

   I'm complaining about the use of neither "form" nor "elements"
collection. I'm just stating the using
"document.NAME_OF_FORM.NAME_OF_ELEMENT" is totally wrong, since the
"document" object shouldn't have a property named as the form -- nor
the form should have properties named as the elements.
    Sorry if I wasn't clear -- my English is not that good.

--
diego nunes



More information about the Javascript mailing list