Input Date select() methode

Definitie en gebruik

select() The method is used to select the content of the date text field.

Example

Select the content of the date text field:

document.getElementById("myDate").select();

Try it yourself

Syntax

inputdateObject.select()

Parameters

None.

Technical details

Return value:

No return value.

Browser support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Not supported Support Support