Reset type Property
Reset Object
Definition and Usage
The type property returns the form element type of the reset button.
For a confirmation button, this property is always "reset".
Syntax
resetObject.type
Browser support





All major browsers support the type property.
Example
Example
The following example returns the form element type of the reset button:
Try it »
Reset Object