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.

EventTarget Node Element HTMLElement HTMLDataListElement

Instance properties

Inherits properties from its parent, HTMLElement.

HTMLDataListElement.options Read only

A HTMLCollection representing 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>