title: Using setDate with jQueryUi datepicker
body: <p>I'm trying to set the date of another datepicker exactly 1 year on from the original datepicker on close.</p>
  
  <p>I have the following code:</p>
  
  <pre><code>$("#myDatepicker1").datepicker({
  onClose: function(dateText, inst) {
  $("#myDatepicker2").datepicker("setDate", dateText +1y);
  }
  });
  </code></pre>
  
  <p>As you can guess this isn't working.</p>
  
  <p>Any help would be great.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Richard</p>