Open In App

HTML DOM Input Search list Property

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

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

Syntax

searchObject.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 search list property.  

Output: 

 

Supported Browsers:

  • Google Chrome 5 and above
  • Edge 12 and above
  • Mozilla Firefox 4 and above
  • Opera 10.6 and above
  • Safari 5 and above

Article Tags :

Explore