Search
 
SCRIPT & CODE EXAMPLE
 

HTML

add placeholder in input type date

<input type="text" placeholder="Date of birth" onfocus="(this.type='date')"> 
Comment

how to add placeholder in type date

<input type="text" placeholder="MM/DD/YYYY" onfocus="(this.type='date')" onblur="(this.type='text')">
Comment

add custom placeholder in input type date

<input type="text" placeholder="Birth Date" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}">
Comment

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>
Comment

PREVIOUS NEXT
Code Example
Html :: font myriad pro html 
Html :: html basic 
Html :: html tabulation 
Html :: bootstrap vertical align 
Html :: How to install sweetalert2 with CDN? 
Html :: html vedio 
Html :: img tamanho html 
Html :: index for in angular 
Html :: html sms link iphone 
Html :: datalist html 
Html :: how to set link as normal text in html 
Html :: html input suggestion 
Html :: mailto:// 
Html :: basecamp 3 api tag mention 
Html :: mailto html 
Html :: html void link 
Html :: how to make an element unclickable 
Html :: how to add square root symbol in HTML Web page 
Html :: restart remote computer cmd using ip address 
Html :: how to fix a footer to the bottom of page css 
Html :: accept function jsf component 
Html :: html table tfoot after thead 
Html :: borderless bootstrap table 
Html :: html table line between rows 
Html :: button as href 
Html :: Validate length with html 
Html :: robots txt disallow all 
Html :: html 5 video 
Html :: input type text cache clear 
Html :: check button html 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =