HTMLDataListElement: options property
The options
read-only property of the HTMLDataListElement
interface returns an HTMLCollection
of HTMLOptionElement
elements contained in a <datalist>
. The descendant <option>
elements provide predefined options for the <input>
control associated with the <datalist>
.
Value
An HTMLCollection
of HTMLOptionElement
elements.
Specifications
Specification |
---|
HTML Standard # dom-datalist-options-dev |
Browser compatibility
BCD tables only load in the browser