title: jquery datepicker dependent end date
body: <p>I need to select a date range, with to inputs. To do so I am using two inputs with the jquery datepicker plugin,</p>
  
  <p>Actually, I'm trying with the code in <a href="http://jqueryui.com/datepicker/#date-range" rel="nofollow">their site</a>, I just changed the dateformat param, because I need it like this as I'm extending some framework:</p>
  
  <pre><code>jQuery(function (e) {
      jQuery('.start_date').datepicker({ 
          minDate: 2,
          dateFormat: 'mm/dd/yy',
           onClose: function( selectedDate ) {
  
              jQuery( ".end_date" ).datepicker( "option", 
                                                "minDate", 
                                                selectedDate 
              );
          }
      });
      jQuery('.end_date').datepicker({ 
          minDate: 2,
          dateFormat: 'mm/dd/yy'                              });
  });
  </code></pre>
  
  <p>Wich works great,</p>
  
  <p>Its selecets (or redeclare) the end_date acording to the start_date.</p>
  
  <p>But how can I do that the end_date is next day?</p>
  
  <p>I mean, if start_date is <code>01/01/2013</code> I need the first possible value for end_date to be <code>01/02/2013</code></p>
  
  <p>how can I do so?</p>
  
  <p>-EDIT-</p>
  
  <p>Basically, how can I increase <code>selectedDate</code> in one day?</p>