ResetButton.value (Property)

The text string in the button.


DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myResetButton.value

Although this value may be sent back to the web server when the form is submitted, the main purpose of a ResetButton is to reset the form element contents to the values defined in the HTML document source. This property provides a convenient means of labelling the button.


See also:Input.value, SubmitButton.value