Answers for "placeholder input date and default style"

2

add custom placeholder in input type date

<input type="text" placeholder="Birth Date" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}">
Posted by: Guest on November-20-2020

Code answers related to "placeholder input date and default style"

Browse Popular Code Answers by Language