[Javascript] Error: missing name after . operator

shashidhar.vutukuru at wipro.com shashidhar.vutukuru at wipro.com
Fri Oct 28 01:08:00 CDT 2005


Hi All,

I have a hidden field

<input type="hidden" name="interface">

When I try and get its value using

    document.forms[0].interface.value;

I get this error:

    "Error: missing name after . operator"

This happens only in firefox and Netscape but not in IE.
Is interface an keyword.. and should it  not be used?
then why does not it throw an error in IE also..?

Please let me know your thoughts on this.
Thanks in advance.

Regards,
Shashidhar V





Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20051028/e3cd3199/attachment.htm>


More information about the Javascript mailing list