Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

add custom placeholder in input type date

<input type="text" placeholder="Birth Date" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #custom #placeholder #input #type #date
ADD COMMENT
Topic
Name
8+2 =