Answers for "type is date but show placeholder"

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 "type is date but show placeholder"

Browse Popular Code Answers by Language