title: DatePicker OnSelect event doesn't work
body: <p>I try to submit a form called 'cobro2' just after select the date in a datepicker field with this code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function()
  {
      $('#datecobro').datePicker({
          clickInput:true,
          startDate: '01-01-2000',
          onSelect: function () {$('#cobro2').submit();}
          });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Whats happend?</p>