Name
NAME — NN all IE all HTML all
Synopsis
NAME=”elementIdentifier"Optional
If the TEXTAREA element is part of a form being
submitted to a server, the NAME attribute is
required if the value of the element is to be submitted with the
form. For forms that are in documents for the convenience of scripted
form elements, TEXTAREA element names are not
required but are helpful just the same in creating scripted
references to these objects and their properties or methods.
Example
<TEXTAREA NAME="comments"></TEXTAREA>
Value
Case-sensitive identifier.
Default
None.
Object Model Reference
- NN
[window.]document.formName.elementName.name
[window.]document.forms[i].elements[i].name
- IE
[window.]document.formName.elementName.name
[window.]document.forms[i].elements[i].name
[window.]document.all.elementID.name
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access