Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

automatically select current date in date input javascript

document.getElementById('datePicker').valueAsDate = new Date();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #automatically #select #current #date #date #input #javascript
ADD COMMENT
Topic
Name
2+4 =