ResetButton.type (Property)

The type value for the <INPUT> object that describes the reset button.

Availability:

DOM level - 1
JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myResetButton.type

The type value for a ResetButton is always "reset". This value is necessary to determine the type of form element because this object is really an instance of the Input class and not the ResetButton class. There is actually no ResetButton class.

See also:Input.type

Property attributes:

ReadOnly.