[Javascript] Error: missing name after . operator

diego nunes dnunes at gmail.com
Fri Oct 28 10:37:24 CDT 2005


On 28/10/05, shashidhar.vutukuru at wipro.com
<shashidhar.vutukuru at wipro.com> wrote:
> When I try and get its  value using
>      document.forms[0].interface.value;

    And, additionally, it's always good to emphasize the fact that
"document.forms[0].interface" IS NOT correct. It's not just another
way of getting the element; it's the way Microfost do. "interface" is
not a property of the object Form. IE always put the elements as
properties of its parents, but it's not the standard.
    You should use either "document.getElementByID" or "elements"
array (child of "form" object) to achieve what you want.

  Amplexos.

--
diego nunes



More information about the Javascript mailing list