Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

display placeholder in date input

<input type="text" name="lead_departure_date" class="form-control" placeholder="Departure Date" id="lead_departure_date" onfocus="(this.type='date')" onblur="(this.type='text')" required>
 
PREVIOUS NEXT
Tagged: #display #placeholder #date #input
ADD COMMENT
Topic
Name
5+5 =