Open In App

HTML DOM Input Range list Property

Last Updated : 30 Aug, 2022
Comments
Improve
Suggest changes
2 Likes
Like
Report

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

Syntax:

rangeObject.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 is used to return the input range list property.

Output:

 

Supported Browsers: The browser is supported by DOM input range list property are listed below: 

  • Google Chrome 4
  • Edge 12
  • Firefox 23
  • Opera 11
  • Safari 3.1

Article Tags :

Similar Reads