SubmitButton.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 browser - 3.0
Property/method value type:String primitive
JavaScript syntax:-mySubmitButton.value

Although this value may be sent back to the web server when the form is submitted, the main purpose of a Submit button is to trigger the form submission. This property provides a convenient means of labelling the button.


See also:Input.value, ResetButton.value