Easy Tutorial
❮ Prop Quote Cite Jsref Operators ❯

Reset Button form Attribute


Definition and Usage

The form attribute returns a reference to the form that contains the reset button.

If successful, this attribute returns a form object.

Syntax


Browser Support

All major browsers support the form attribute.


Example

Display the ID of the form to which the reset button belongs:


❮ Prop Quote Cite Jsref Operators ❯