title: How can I tell if a browser supports <input type='date'>
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4159838/html5-type-detection-and-plugin-initialization">HTML5 Type Detection and Plugin Initialization</a>  </p>
  </blockquote>
  
  
  
  
  
  <pre><code>&lt;input type=date&gt;
  </code></pre>
  
  <p>Should create an input with an (optional) user-agent provided datepicker, but its not widely supported yet, so we're using a jQuery UI Datepicker. How can we allow browsers to use their own datepicker and fall back on jQuery UI only if the browser doesn't have such a thing?</p>
  
  <p>At present I think only Opera has a built in datepicker, but a test for Opera would obviously be bad. Is there a way this feature can be detected (if it can at all in a portable manner)?</p>