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 # dom-datalist-options-dev |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.