HTML DOM Fieldset object
Fieldset object
The Fieldset object represents an HTML-lt;fieldset-gt; element.
Access fieldset objects
You can use getElementById() to access the elements of the .lt;fieldset:
Tip: You can also access Fieldset objects by searching the elements collection of forms.
Create a Fieldset object
You can use the document.createElement() method to create the element of the .lt;fieldset:
Fieldset object properties
Attributes | describe |
---|---|
disabled | Set or return to whether the fieldset is disabled. |
form | Returns a reference to a form that contains FieldSet. |
name | Set or returns the value of the Name property of the fieldset. |
type | Returns which type of form elements are Fieldset. |
Standard properties and events
Fieldset objects also support standard properties and events.
Related articles
HTML tutorial: HTML forms
HTML Reference Manual: HTML .lt;fieldset.gt; Tags