Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

default value input date js

<input type=date id=e>
<script>
document.getElementById('e').value = new Date().toISOString().substring(0, 10);
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #default #input #date #js
ADD COMMENT
Topic
Name
8+1 =