title: how to populate second date field when user select the first one with Datepicker plugin?
body: <p>I want to auto fill the second date field with 7 days added to the first date that user selects from the datpicker for the datefield provided with jquery. I tried this code  but it is adding a month even though I want it to add 7 days.</p>
  
  <pre><code>$("#to").datepicker();
      $("#from").datepicker({
          onSelect:function(){
              var date=$(this).datepicker('getDate');
              $("#to").datepicker("setDate",new Date(date.getTime()));
              $("#to").datepicker("setDate", "+7d");
          }
  });
  </code></pre>