Name

FieldSet — a <fieldset> in an HTML form

Inherits from

Node, Element, FormControl

Synopsis

The FieldSet object represents a <fieldset> in an HTML <form>. FieldSets implement most, but not all, of the properties and methods of FormControl.

Properties

boolean disabled

true if the FieldSet is disabled. Disabling a FieldSet disables the form controls it contains.

readonly HTMLFormControlsCollection elements

An array-like object of all form controls contained within this <fieldset>.

Get JavaScript: The Definitive Guide, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.