While for most elements, the Name attribute has been deprecated in favor of the ID attribute, Netscape Navigator and IE still require you to Name your forms if you want to specify them by name in JavaScript.
For instance, given the following
JavaScriptdocument.myForm.elements['textbox'].value
You must provide the following XHTML:
Source: Mike D. Jones, MCP, BCIP
Viewed 3668 times