Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Reset type Property

Reset type Property

Reset Object Reference 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

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the type property.


Example

Example

The following example returns the form element type of the reset button:

Runoob Tutorial(runoob.com)

Email:

Try it »


Reset Object Reference Reset Object