tabselection in jquery
<p>I have need of Click Tab Event I am using the code following..</p>

<pre><code>   &lt;script type="text/javascript"&gt;
       $(function() {
           $('#container-1').tabs();

           $('#start').bind('tabsselect', function(event, ui) {
                  alert('tab label ' + ui.tab.text());
           });

        });
    &lt;/script&gt;

       .....


    &lt;div id="container-1"&gt;
        &lt;ul&gt;
            &lt;li&gt;&lt;a href="#fragment-1"&gt;&lt;span id="start"&gt;Start&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#fragment-2"&gt;&lt;span id="mid"&gt;Mid &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
              ....
            list of tabs               
       &lt;/ul&gt;
    &lt;/div&gt;
</code></pre>

<p>Here , I need the Clicked Tab Name , as alert .But Unable to execute i tried with jquery-1.2.6 Any other inclusion in this Code</p>
