Submit value property
The Submit object
Definition and Usage
The value property can be set or returned to indicate the value of the value property of the submit button.
The value specifies the text displayed on the confirm button.
Syntax
Set the value attribute:
submitObject.value="
value
"
Return the value attribute:
submitObject.value
Browser support





All major browsers support the value property.
Example
Example
The following example displays the text shown on the confirm button:
Try it »
The Submit object