/ Published in: HTML
                    
                                        
Testing, if Browser supports HTML5 "date" Value for type in input-fields
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
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.
}
URL: http://www.catswhocode.com/blog/enhance-your-web-forms-with-new-html5features
Comments
 Subscribe to comments
                    Subscribe to comments
                
                