HTMLDataListElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
TheHTMLDataListElement interface provides special properties (beyond theHTMLElement object interface it also has available to it by inheritance) to manipulate<datalist> elements and their content.
In this article
Instance properties
Inherits properties from its parent,HTMLElement.
HTMLDataListElement.optionsRead onlyA
HTMLCollectionrepresenting a collection of the contained option elements.
Instance methods
No specific method; inherits methods from its parent,HTMLElement.
Specifications
| Specification |
|---|
| HTML> # htmldatalistelement> |
Browser compatibility
See also
- The HTML element implementing this interface:
<datalist>