Can I specify a string as the initial value for an HTML5 date input?
I want to use the HTML5 input type="date" to trigger the native date
picker on a web application within the iPhone. I don't have an initial
value to set the date to, so I would like to set it so that it reads
"MM/DD/YYYY" on the screen initially, and upon focus, brings up the iOS
native datepicker set to the current date.
Any suggestions on whether this is possible? I have tried a few ways and
they don't seem to work.
No comments:
Post a Comment