title: Datepicker not working in safari and FireFox
body: <p>I'm trying to use the default date type in HTML5, but this is not fully supported by Safari and FireFox, my workaround using jQuery is also not working.</p>
  
  <p>I have this in <code>script.js</code></p>
  
  <pre><code>$(document).ready(function(){
      if ( $('#date1').type != 'date' ) $('#date1').datepicker();
  });
  </code></pre>
  
  <p>In the form, I have this:</p>
  
  <pre><code>&lt;script src="js/script.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;input id="date1" name="date1" required="required" type="date" value="MM/DD/YY"/&gt;
  </code></pre>
  
  <p>When I load the page in Safari/Firefox, I see no error, I also inspect elements, no error.</p>
  
  <p>What am I doing wrong?</p>