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.
The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content.
Instance properties
Inherits properties from its parent, HTMLElement.
HTMLDataListElement.optionsRead only-
A
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
Loading…
See also
- The HTML element implementing this interface:
<datalist>