Open In App

HTML DOM Input Date list Property

Last Updated : 27 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

The input Date list property in HTML DOM is used to return a reference to the list element that contains an input date field.

Syntax:

dateObject.list.id

Return value: It returns a string value that represents the value of the id attribute of the datalist element.

Example:  Below HTML code used to return the input date list property.  

Output:

 

Supported Browsers:

  • Google Chrome 20
  • Edge 12
  • Mozilla Firefox 57
  • Opera 11
  • Safari 14.1

Article Tags :

Similar Reads