HTMLDataListElement

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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
HTMLDataListElement
options

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also

  • The HTML element implementing this interface: <datalist>