title: How to set max date for jquery ui datepicker
body: <p>I have the jquery ui datepicker in my page and use two input elements id of 'startDate' and 'endDate'. My javascript has a function 'setRange()' in which min date is defined but I want to define max date that should be startDate+6 days only. I mean user must not select the date after 6 days of start date.</p>
  
  <p>Please Help me. Thanks</p>