Javascript Reference
Categories: OBJECT

javascript OBJECT name

@March 15, 2008, 1:22 a.m.
nameFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

This is the identifier associated with the object element. If the object should be one that goes inside a form, the name property is submitted as one-half of the name/value pair when the form is submitted to the server.

 
Example
 
document.getElementById("myObject").name = "company";
 
Value

Case-sensitive string 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.