title: How to disable all the dates that comes before the selected date?
body: <p>I am a newbie to the Jquery and I am developing an Hotel application, where the users are allowed to select the 'check-in' and 'check-out' dates, and I am using a <strong>datepicker</strong> for these fields. Logically, the <strong>'check-out' date can either be equal to or more than the 'check-in'</strong>. I have written an validation that can check this condition but, I want to <strong>restrict the user on the UI</strong> itself, to select date for 'check-out' that are only equal to or more than 'check-in' date, by <strong><em>disabling all the dates that fall before</em></strong> 'check-in' in the date picker for 'check-out'.. I have browsed a lot, but no luck for this criteria.</p>
  
  <p><strong><a href="https://stackoverflow.com/questions/15400775/jquery-ui-datepicker-disable-array-of-dates">Jquery UI datepicker. Disable array of Dates</a></strong></p>
  
  <p>I have referred the above, but the problem is, they have defined a small array of dates for which they have disabled the select. But, in my case, I want to disable all the dates that fall before 'check-in' date in the 'check-out' date picker.</p>
  
  <p>How can I do that? Can someone help me please......</p>
  
  <p>Thanks in Advance....</p>