Reset value Property
Reset Object
Definition and Usage
The value property sets or returns the value of the value attribute of the reset button.
The value property specifies the text displayed on the reset button.
Syntax
Set the value attribute:
resetObject.value="
value
"
Return the value attribute:
resetObject.value
Browser support





All major browsers support the value property.
Example
Example
The following example displays the text shown on the reset button:
Try it »
Reset Object