Name
NAME — NN all IE all HTML all
Synopsis
NAME=”elementIdentifier"
Optional
The name submitted as part of the element’s name/value pair
with the form. It is similar to the NAME
attribute
of INPUT
elements.
Example
<SELECT NAME="cpu"> <OPTION VALUE="486">486 <OPTION VALUE="pentium">Pentium <OPTION VALUE="pentium2">Pentium II ... </SELECT>
Value
Case-sensitive identifier.
Default
None.
Object Model Reference
- NN
[window.]document.formName.selectName.name
[window.]document.forms[i].elements[i].name
- IE
[window.]document.formName.selectName.name
[window.]document.forms[i].elements[i].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.