I know that the html date input field defaults to "mm/dd/yyyy"
, but was wondering if there was a way to overwrite that with text to say something like "pick a date".
I have tried changing the value
and placeholder
attributes like so:
<input type="date" placeholder="Pick a Date">
<input type="date" value="Pick a Date">
but it ultimately doesn't seem to work as I assume it's expecting some sort of ISO date. Any ideas?
Example in a fiddle: http://jsfiddle.net/AY2mp/