Javascript Reference
Categories: BUTTON

javascript BUTTON value

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

This is the rare time 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.