HTML5 Pre-Load Date

Not sure why this doesn't work, but when I put a value in the input the field still loads empty.

<input type="datetime-local" class="form-control" name="dateToPost" value="05/10/2015 12:00 PM" required/>

Open in new window

LVL 12
Nathan RileyFounderAsked:
Who is Participating?
Julian HansenCommented:
datetime-local is not supported in all browsers

Refer following link
Nathan RileyFounderAuthor Commented:
Ah, well crap.  So I'm going to have to use the jquery datetimepicker then or is there another HTML5 asset to do this?
Julian HansenCommented:
<input type="text">
<input type="date">
<input type="datetime">

Pretty much covers it for HTML5

More info here
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.