title: Pickaday.js not working
body: <p>I'm having problems with Pickaday.js and I can't see what is the problem.</p>
  
  <p>This is my code:</p>
  
  <pre><code>    ...
  
      &lt;link rel="stylesheet" href="css/styles.css"&gt;
      &lt;link rel="stylesheet" href="css/pikaday.css"&gt;
  
      &lt;script src="js/jquery-1.11.0.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/moment.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="js/pikaday.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="js/pikaday.jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  
      &lt;script&gt;
       var $datepicker = $('#datepicker').pikaday({
             firstDay: 1,
             minDate: new Date('2000-01-01'),
             maxDate: new Date('2020-12-31'),
             yearRange: [2000,2020]
          });    
      &lt;/script&gt;
  
      ....
  
      &lt;input type="text" id="datepicker"&gt;
  </code></pre>