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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #placeholder #date #input
ADD COMMENT
Topic
Name
5+7 =