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 (the value
property of the highlighted radio button supplies the value portion).
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. Assign the same
name to every radio button in a group whose highlight/unhighlight
characteristics are related.
Example
document.orderForm.myRadio[0].name = "Win32"
Value
Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, can’t 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