HTMLSelectElement

The interface for <select>. Extends HTMLElementElement.

Reflected properties

All setters are guarded and throw NoModificationAllowedError on a read-only document.

Property Attribute Type Notes
name name string Reflects the content attribute verbatim.
required required boolean (presence) Reading reflects whether the attribute is present; writing false removes it, any other value sets it present.
disabled disabled boolean (presence) Reading reflects whether the attribute is present; writing false removes it, any other value sets it present.
multiple multiple boolean (presence) Reading reflects whether the attribute is present; writing false removes it, any other value sets it present.

See also