HTMLDataListElement

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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 Standard
# htmldatalistelement

Browser compatibility

BCD tables only load in the browser

See also

  • The HTML element implementing this interface: <datalist>