Javascript Reference
Categories: BUTTON

javascript BUTTON name

@March 15, 2008, 1:22 a.m.
\n \n ]\n \n ]\n \n ]\n \n ]
nameFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1
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.

 
Example
document.orderForm.myButton.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.

Powered by Linode.