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

HTML DOM Submit form property

Submit form property

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

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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:

Runoob Tutorial(runoob.com)

Email:

Try it »


Submit Object Reference The Submit object