title: Date Picker copy field value to another field
body: <p>Using date picker if the users fills out the start date field how to I make the end date field copy that same value?</p>
  
  <pre><code>$('#sdate').datepicker({
   dateFormat: 'dd/mm/yy',
   changeMonth: true,
   changeYear: true ,
   firstDay: 1,
    onSelect : function(){
       document.getElementById('edate').value = $.datepicker.formatDate('dd/mm/yy', '#sdate');  
  }
  });
  
  $('#edate').datepicker({
   dateFormat: 'dd/mm/yy',
   changeMonth: true,
   changeYear: true ,
   firstDay: 1
  });
  </code></pre>