July 1998
Intermediate to advanced
1456 pages
65h 5m
English
NAME — NN n/a IE 4 HTML 4
NAME=”elementIdentifier"Optional
For a BUTTON element, the NAME
attribute can play two roles, depending on the
TYPE attribute setting. For all
TYPE attribute settings, the
NAME attribute lets you assign an identifier that
can be used in scripted references to the element (the
ID attribute is an alternate way to reference the
element). For a button type of submit, the
NAME attribute is sent as part of the name/value
pair to the server at submit time.
<BUTTON TYPE="submit" NAME="Type" VALUE="infoOnly">Request Info</BUTTON>
Case-sensitive identifier.
None.
[window.]document.all.elementID.name
Read now
Unlock full access