title: jQuery datepicker, onSelect won't work
body: <p>I can't get <code>onSelect</code> working on my jQuery <code>datepicker</code>.</p>
  
  <p>Heres my code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function() {
      $('.date-pick').datePicker( {
          onSelect: function(date) {
              alert(date)
          },
          selectWeek: true,
          inline: true,
          startDate: '01/01/2000',
          firstDay: 1,
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>It's like it doesn't register the <code>onSelect</code> function.  What am I doing wrong?</p>