Return to Snippet

Revision: 31915
at September 15, 2010 20:32 by ichnoweb


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

Initial URL
http://www.catswhocode.com/blog/enhance-your-web-forms-with-new-html5features

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

Initial Title
HTML5 Date Support

Initial Tags
javascript, html

Initial Language
HTML