Easy Tutorial
❮ Prop Node Previoussibling Prop Video Mediagroup ❯

Fieldset form Attribute

Fieldset Object

Example

Returns the id of the form that contains the <fieldset> element:

x Output result is:


Definition and Usage

The form attribute returns a reference to the form that contains the fieldset.

If successful, this attribute returns a form object.

Note: This attribute is read-only.


Browser Support

All major browsers support the form attribute.


Syntax

Technical Details

| Return Value: | A reference to the form that contains the fieldset. If the fieldset is not within a form, it returns null. | | --- | --- |


Fieldset Object

❮ Prop Node Previoussibling Prop Video Mediagroup ❯