title: jQuery UI Datepicker - Month and Year Dropdown
body: <p>I have the <a href="https://jqueryui.com/datepicker/#dropdown-month-year" rel="nofollow noreferrer"><strong>following Datepicker</strong></a> on my website.</p>
  
  <p>As you can see from the example they have, it only goes as back as 2006 and as forward as 2026 on the year. I need the year to go back a lot further, how would I accomplish this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;script&gt;
      $(function() {
          $("#passenger_dob").datepicker({ changeMonth: true, changeYear: true, dateFormat: "dd/mm/yy" }).val()
      });
  &lt;/script&gt;
  </code></pre>