title: Set jQuery Datepicker value restricted to last month only
body: <p>I have this script for selecting date.</p>
  
  <pre><code>  &lt;script type='text/javascript'&gt;
      $(function () {
          $("#datepicker").datepicker({
              minDate: "-5M",
              maxDate: "-1M",   
              changeMonth: true,
              changeYear: true
          });
      });
      function Image13_onclick() {
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>this allows me to select any date from past five months. I want just one month for the user to select and that should be previous
   month. For example if current month is March then datepicker should only have Feb.  </p>