Submit form property
The Submit object
Definition and Usage
The form property can return a reference to the form that contains the confirm button.
On success, this property returns a form object.
Syntax
submitObject.form
Browser support





All major browsers support the form attribute
Example
Example
The following example will return the id of the form to which the confirm button belongs:
Try it »
The Submit object