Answers for "how to use html date input properly"

2

set date input html using js

document.getElementById("datePicker").valueAsDate = new Date()
Posted by: Guest on March-27-2021
0

input type="date"

<input id="datePicker" type="date" />
Posted by: Guest on October-12-2021

Code answers related to "how to use html date input properly"

Browse Popular Code Answers by Language