HTML DOM Input Date list Property Last Updated : 31 Aug, 2022 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. HTML <!DOCTYPE html> <html> <head> <title>Input Date list property in HTML</title> <style> body { text-align: center; } </style> </head> <body> <h1 style="color:green">GeeksforGeeks</h1> <h2>Input Date list property</h2> <br> Date Of Birth: <input type="date" id="Test_Date" list="dates_list"> <datalist id="dates_list"> <option value="2021-02-12"/> <option value="2022-11-11"/> <option value="1999-12-21"/> <option value="2022-11-01"/> <option value="1998-02-11"/> </datalist><br><br> <button ondblclick="My_Date()">Click Here!</button> <p id="test" style="font-size:20px"></p> <script> function My_Date() { var x = document.getElementById("Test_Date").list.id; document.getElementById("test").innerHTML = x; } </script> </body> Output: Supported Browsers: Google Chrome 20Edge 12Mozilla Firefox 57Opera 11Safari 14.1 Comment More infoAdvertise with us Next Article HTML DOM Input Date list Property M manaschhabra2 Follow Improve Article Tags : HTML HTML-DOM HTML-Property Similar Reads HTML DOM Input Datetime list Property The input DateTime list property in HTML DOM is used to return a reference to the list element that contains an input DateTime field.Syntax:datetimeObject.list.idReturn value: It returns a string value that represents the value of the id attribute of the datalist element.Example:Â Below HTML code is 1 min read HTML | DOM Input Date min Property The Input Date min property is used for setting or returning the value of the min attribute of a date field. The attribute returns a string that represents the minimum date allowed. Syntax: For returning the min property:inputdateObject.minFor setting the min property:inputdateObject.min = YYYY-MM-D 2 min read HTML | DOM Input Date max Property The Input Date max property is used for setting or returning the value of the max attribute of a date field. The max attribute returns a string that represents the maximum date allowed.Syntax: For returning the max property: inputdateObject.maxFor setting the max property: inputdateObject.max = YYYY 2 min read HTML DOM Input DatetimeLocal list Property The input DateTimeLocal list property in HTML DOM returns a reference to the list element that contains an input datetimelocal field. Syntax: DatetimelocalObject.list.idReturn Value: It returns a string value that represents the value of the id attribute of the datalist element. Example: This HTML c 1 min read HTML | DOM Input Date name Property The Input Date name property is used for setting or returning the value of the name attribute of a date field. The form data which has been submitted to the server can be identified by the name attribute. The name attribute is also used for referencing form data on the client-side using JavaScript.S 2 min read HTML | DOM Input Datetime min Property The Input Datetime min property is used for setting or returning the value of the min attribute of a datetime field. The Input Datetime min attribute returns a string that represents the minimum date and time allowed. Syntax: For returning the min property:datetimeObject.minFor setting the min prope 2 min read HTML | DOM Input Date form Property The Input Date form property is used for returning a reference to the form containing the Date field. It is a read-only property that returns a form object on success, else if the date control is not in the form, it returns NULL.Syntax: inputdateObject.form Return Values: It returns a string value w 1 min read HTML | DOM Input Date type Property The Input Date type property is used for returning the type of form element the date field is. The Input Date type property returns a string that represents the type of form element the date field is. Syntax: inputdateObject.type Return Values: It returns a string value that represents the type of f 1 min read HTML DOM Input Time list Property The input Time list property in HTML DOM is used to return a reference to the list element that contains an input Time field. Syntax: timeObject.list.idReturn 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 r 1 min read HTML | DOM Input Date step Property The Input Date Step property is used to set or return the value of the step attribute of a date field. The Input Step attribute can be used for specifying the legal day intervals to choose from when the user opens the calendar in a date field. Syntax: To return the step property: inputdateObject.ste 2 min read Like