Posted By

ichnoweb on 09/15/10


javascript html

Versions (?)

HTML5 Date Support

 / Published in: HTML


Testing, if Browser supports HTML5 "date" Value for type in input-fields

  1. var i = document.createElement("input");
  2. i.setAttribute("type", "date");
  3. if (i.type == "text") {
  4. // No HTML5 native date picker support, use jQuery or your favorite framework to create one.
  5. }

Report this snippet  

You need to login to post a comment.