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
- Follow-Ups:
- [Javascript] Error: missing name after . operator
- From: Laurent Muchacho
- [Javascript] Error: missing name after . operator
- References:
- [Javascript] Error: missing name after . operator
- From: shashidhar.vutukuru@xxxxxxxxx
- [Javascript] Error: missing name after . operator
- Prev by Date: [Javascript] Error: missing name after . operator
- Next by Date: [Javascript] Error: missing name after . operator
- Previous by thread: [Javascript] Error: missing name after . operator
- Next by thread: [Javascript] Error: missing name after . operator
- Index(es):