Javascript Reference
Categories: InputTypeSubmit

javascript InputTypeSubmit name

@July 12, 2008, 5:21 a.m.
name Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  
Read/Write  

This is the identifier associated with the form control contains current InputTypeSubmit element. 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.mySubmit.name = "sender";
 
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.