Answers for "how to set default value to input type date pure js"

0

default value input date js

<input type=date id=e>
<script>
document.getElementById('e').value = new Date().toISOString().substring(0, 10);
</script>
Posted by: Guest on July-16-2021

Code answers related to "how to set default value to input type date pure js"

Browse Popular Code Answers by Language