javascript InputTypeButton value

valueNN 2 IE 3 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.


1019,Nickname,Homepage or email,Comments here,Add comment