title: Detecting tab getting selected under jQueryUI
body: <p>I am trying to detect when a new tab on my jQueryui tab component is clicked.  I have followed several guides and blogs, but can't wrap my head around the process.  I have the following:</p>
  
  <pre><code>$('#tabs').tabs({
    select: function(event,ui) {
    alert('selected');
    return false;
    },                
  }); 
  </code></pre>
  
  <p>I don't know what I'm missing, but the alert never fires. I'm am not strong with jQuery so I'm probably making a stupid mistake, so any help will be appreciated.</p>
  
  <p>Thanks,
  Kris</p>
  
  <p>Update: jsfiddle example <a href="http://jsfiddle.net/T7czp/16/" rel="nofollow">http://jsfiddle.net/T7czp/16/</a></p>