javascript InputTypeButton value
@March 15, 2008, 1:22 a.m.
value | Firefox/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. |
Permanent URL:
http://javascript.gakaa.com/inputtypebutton-value.aspx
Powered by Linode.