HTML DOM Input Time select() Method Last Updated : 29 Aug, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report The input Time select() method in HTML DOM is used in selecting the content of the time text field. Syntax: timeObject.select() Parameters: It does not accept any parameter. Return Value: It does not return any value. Example: This example uses the input Time select() method to select the content inside the time Field. HTML <!DOCTYPE html> <html> <head> <title> DOM Input Time select() Method </title> </head> <body> <center> <h1 style="color:green;"> GeeksForGeeks </h1> <h2>DOM Input Time select() Method </h2> <label for="uname" style="color:green"> <b>Enter time</b> </label> <input type="time" id="gfg" name="Geek_time" value="18:00" placeholder="Enter time" step="5" min="16:00" max="22:00:" autofocus> <br> <p> <b> Click on the below Button to select the content of the Time field </b> </p> <br> <button type="button" onclick="geeks()"> Click </button> <p id="GFG" style="font-size:24px; color:green'"> </p> </center> <script> function geeks() { var link = document .getElementById("gfg").select(); } </script> </body> </html> Output: HTML DOM Input Time select() Method Supported Browsers: Google Chrome 20Edge 12Firefox 57Opera 10Safari 14.1 Comment More infoAdvertise with us Next Article HTML DOM Input Time select() Method M manaschhabra2 Follow Improve Article Tags : HTML HTML-DOM HTML-Methods Similar Reads HTML DOM Input Tel select() Method The input tel select() method in HTML DOM is used to select the contents of the input tel field. It is an in-built method of the input tel object. Syntax: telObject.select() Parameters: This method does not accept any parameters. Return Value: This method does not return any value. Example: Below HT 1 min read HTML DOM Input Text select() Method The DOM Input select() method selects all the text content of a textarea or an input element that contains the text field. Syntax: element.select(); Parameters: This method does not accept any parameters. Example: This example selects the content of the input text field. HTML <!DOCTYPE html> 1 min read HTML DOM Input Week select() Method The input week select() method in HTML DOM is used in selecting the content of the week field. Syntax: weekbject.select() Parameters: It does not accept any parameter. Example: This example uses the input week select() method to select the week field. HTML <!DOCTYPE html> <html> <head 1 min read HTML DOM Input URL select() Method The HTML <input type=âurlâ> is used to define a field that entered a URL. This input value is automatically validated before submitting the form. The input URL select() method in HTML DOM is used to select the content of a URL text field. It is an in-built method of input URL Object. Refer to 1 min read HTML DOM Input Time stepDown() Method The Input Time stepDown() method in HTML DOM is used to decrease the value of the time field by the given number. It will only affect the number of minutes (not hours, seconds, or milliseconds). Syntax: timeObject.stepDown( number )Parameters: It accepts a single parameter and it is required. number 1 min read Like