SubmitButton.type (Property)

The subclass type of this Input object.


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

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

See also:Input.type

Property attributes: