Javascript Reference
Categories: InputTypeButton

javascript InputTypeButton value

@March 15, 2008, 1:22 a.m.
valueFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read/Write  

This is one of the rare times that the value property controls the label of a form control: the text that appears on the button. A button input element is not submitted with the form.

 
Example
 
document.forms[0].myButton.value = "Undo";
 
Value

String.

 
Default

None.


Powered by Linode.