Name
name — NN 2 IE 3 DOM 1
Synopsis
Read/Write
The identifier associated with the form control. The value of this
property is submitted as one-half of the name/value pair when the
form is submitted to the server. Names are hidden from user view,
since control labels are assigned via other means, depending on the
control type. Form control names may also be used by script
references to the objects. The handling of carriage returns inside
the element is governed by the setting of the wrap
property.
Example
document.orderForm.myTextArea.name = "Win32"
Value
Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character.
Default
None.
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