How to set End Date plus one from Start Date using jQuery DatePicker
<p>I have successfully integrate <a href="http://jqueryui.com/demos/datepicker/" rel="nofollow">jQuery DatePicker</a> on my site and wondering how can I set the following:</p>

<ol>
<li>Don't allow selection of start date from current date plus 2 days. example if today's date is 7/20/12 then the visitor can select only date starting 7/22/12.</li>
<li>End date must start based on Start Date plus one. If start date is 7/23/12 then the end date should be 7/24/12.</li>
</ol>

<p>BTW, I am making a hotel reservation calendar.</p>

<p>Here's my code based from sample:</p>

<pre><code>&lt;script&gt;
    $(function() {
        $( "#sd" ).datepicker();
    });

    $(function() {
        $( "#ed" ).datepicker();
    }); 
&lt;/script&gt;

&lt;tr&gt;
  &lt;td&gt;Check In&lt;/td&gt;
  &lt;td&gt;:&lt;/td&gt;
  &lt;td&gt;&lt;input name="sd" type="text" id="sd" value="&lt;?php echo $_SESSION['checkin'] ?&gt;" size="10"" maxlength="8" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;Check Out&lt;/td&gt;
  &lt;td&gt;:&lt;/td&gt;
  &lt;td&gt;&lt;input name="ed" type="text" id="ed" value="&lt;?php echo $_SESSION['checkout'] ?&gt;" size="10" maxlength="10" /&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>
