I was pleasantly surprised to discover that the following code, when viewed in Chrome, renders a datepicker:
<input type="date" name="wdate" id="wdate" value="" placeholder="date of purchase" />
However, the placeholder text is ignored and "Date/Month/Year" is shown instead.
How can I change the placeholder text and use my own?
I have already tried:
<script>
$("#wdate").attr("placeholder", "Day/Month/Year of purchase");
</script>
but to no avail.