title: jQuery datepicker show next month if near the end of current month
body: <p>If the current date is near the end of the month, how can I set the calendar to auto show the next month?</p>
  
  <p>To solve the issue of the calendar ever defaulting to this.</p>
  
  <p><img src="https://i.stack.imgur.com/UdFe6.jpg" alt="enter image description here"></p>
  
  <p>At the moment I have:</p>
  
  <pre><code>$(predecessor+"input.datePicker").datepicker({
      minDate: 0,
      changeMonth: true,
      dateFormat: "dd/mm/yy",
      firstDay: 1,
      hideIfNoPrevNext: true,
      showAnim: 'slideDown',
      showOn: "both",  
      showOtherMonths: true,
      showStatus: true,
      maxDate: '-1d'
  });
  </code></pre>