Input Date select() Method
Example
Select the content of a date text field:
document.getElementById("myDate").select();
Try it Yourself »
Definition and Usage
The select() method is used to select the content of a date text field.
Browser Support
Method | |||||
---|---|---|---|---|---|
select() | Yes | Yes | No | Yes | Yes |
Syntax
dateObject.select()
Parameters
None. |
Technical Details
Return Value: | No return value |
---|
❮ Input Date Object