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.
Properties
Inherits properties from its parent, HTMLElement
-
HTMLDataListElement.options
Read only -
Is a
HTMLCollection
representing a collection of the contained option elements.
Methods
No specific method; inherits methods from its parent, HTMLElement
.
Specifications
Specification |
---|
HTML Standard (HTML) # htmldatalistelement |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
HTMLDataListElement |
20 |
12 |
4 |
10 |
≤12.1 |
12.1 |
≤37 |
25 |
4 |
≤12.1 |
12.2 |
1.5 |
options |
20 |
12 |
4 |
10 |
≤12.1 |
12.1 |
≤37 |
25 |
4 |
≤12.1 |
12.2 |
1.5 |
See also
- The HTML element implementing this interface:
<datalist>
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement