title: problem with jquery datepicker onselect
body: <p>Following the basic onSelect spec on the jquery site I tried the following code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" /&gt;
    &lt;script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.datepicker.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
    $(document).ready(function(){
      $("#datepicker").datepicker();
  
  
  $('#datepicker').datepicker({
     onSelect: function(dateText, inst) { alert("Working"); }
  });
  
  
  
    });
  
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body style="font-size:62.5%;"&gt;
  
  &lt;div type="text" id="datepicker"&gt;&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And can't get it to work!
  Originally been trying to get a more complicated thing to work but the onSelect was just not working so I went back to basics and still don't work, anyone any idea what I'm doing wrong??</p>