Input Date select() Method

❮ Input Date Object

Example

Select the content of a date text field:

document.getElementById("myDate").select();
Try it Yourself »

Description

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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.