Name

NAME — NN 2 IE 3 HTML n/a

Synopsis

NAME=”elementIdentifier"

Optional

Assigns an identifier to the entire FORM element. This value is particularly useful in writing scripts that reference the form or its nested controls.

Example

<FORM NAME="orders" METHOD=POST ACTION="http://www.giantco.com/cgi-bin/order">
...
</FORM>

Value

Case-sensitive identifier.

Default

None.

Object Model Reference

NN

[window.]document.forms[i].name

[window.]document.formName.name

IE

[window.]document.forms[i].name

[window.]document.formName.name

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.