I have need of Click Tab Event I am using the code following..
<script type="text/javascript">
$(function() {
$('#container-1').tabs();
$('#start').bind('tabsselect', function(event, ui) {
alert('tab label ' + ui.tab.text());
});
});
</script>
.....
<div id="container-1">
<ul>
<li><a href="#fragment-1"><span id="start">Start</span></a></li>
<li><a href="#fragment-2"><span id="mid">Mid </span></a></li>
....
list of tabs
</ul>
</div>
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