Answers for "input date display value and placeholder differently"

6

add placeholder in input type date

<input type="text" placeholder="Date of birth" onfocus="(this.type='date')">
Posted by: Guest on October-09-2020

Code answers related to "input date display value and placeholder differently"

Browse Popular Code Answers by Language