YouTip LogoYouTip

Dom Obj Datalist

# HTML DOM Datalist Object * * * ## Datalist Object The Datalist object is new in HTML5. The Datalist object represents an HTML `` element. ### Accessing a Datalist Object You can use the `getElementById()` function to access the `` element: ```javascript var x = document.getElementById("myDatalist"); (#) ### Creating a Datalist Object You can use the `document.createElement()` method to create a `` element: ```javascript var x = document.createElement("DATALIST"); (#) ## Datalist Object Collections | Collection | Description | | --- | --- | | (#) | Returns a collection of all `` elements in a `` | ## Standard Properties and Events The Datalist object also supports the standard (#) and (#). * * * ## Related Pages HTML Tutorial: (#) HTML Reference: [HTML `` Tag](#) [](#)[](#) [](#)[](#)
← Coll Datalist OptionsRuby Module β†’