title: jQuery Datepicker limit end date to one week without passing previous day
body: <p>I am looking to have start day default to yesterday and the end date to default to yesterday as well to begin with. This is the max date at all times.</p>
  
  <p>I am then looking to make it allow the end date to have a max of 7 days after the start date once the user changes the start date. How would I do this?</p>
  
  <p>The code:</p>
  
  <pre><code>var StrtDate = $('#strtDate').datepicker({
      defaultDate: -1,
      maxDate: -1,
      onSelect: function (selectedDate) {
          var date = $(this).datepicker('getDate');
          createEndDates.not(this).datepicker('option', 'minDate', date);
      }
  });
  $('#strtDate').datepicker('setDate', 'today');
  
  var EdDates = $('#edDate').datepicker({
      defaultDate: -1,
      maxDate: -1,
      onSelect: function (selectedDate) {
      }
  });
  $('#edDate').datepicker('setDate', 'today');
  </code></pre>
  
  <p>Please let me know how you would solve this.
  Thanks a ton.</p>