Submit type property
The Submit object
Definition and Usage
The type property can return the form element type of the confirm button.
For a confirm button, this property is always "submit".
Syntax
submitObject.type
Browser support





All major browsers support the type property.
Example
Example
The following example returns the form element type of the confirm button:
Try it »
The Submit object