title: Jquery Datepicker - Set Max and Min value based on input fields
body: <p>My jQuery:</p>
  
  <pre><code>$('#begindate').datepicker();
  $('#enddate').datepicker();
  </code></pre>
  
  <p>The Begin and the enddate date shall not exceed the Date today. </p>
  
  <p>And the enddate must not be before the begindate. </p>
  
  <p>How do I set these limits with jquery datepicker? </p>
  
  <p>Example if you first set the enddate, then the begindate limit would be the date enddate is set to. </p>