VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-input-date-select-method/

⇱ HTML DOM Input Date select() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM Input Date select() Method

Last Updated : 15 Sep, 2022

The Input Date select() Method in HTML DOM is used to select the contents of the Date text field. It is the predefined method of the Input date object. 

Syntax:

dateObject.select()

Parameter: This method does not contain any parameters. 

Return Values: It does not return any value. 

Example: Below example illustrates the use of the Input Date select() Method in HTML DOM. 

Output:

👁 Image

Supported Browsers:

  • Google Chrome 20
  • Edge 12
  • Opera 11
  • Firefox 57
  • Safari 14.1
Comment
Article Tags: