Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


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

[Javascript] Error: missing name after . operator


  • From: dnunes at gmail.com (diego nunes)
  • Subject: [Javascript] Error: missing name after . operator
  • Date: Fri Oct 28 10:37:28 2005

On 28/10/05, shashidhar.vutukuru@xxxxxxxxx
<shashidhar.vutukuru@xxxxxxxxx> 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