jQuery tab select doesn't work.
Hello,
I am trying to use the UI Tabs widget, it shows fine but when i click
a tab, the address bar does change with #tab-X. But nothing changes on
the widget itself. It just hangs on the first tab.
This is my code:
<script language="Javascipt" type="text/javascript">
$(document).ready(function(){
$('#tabpage').tabs();
});
</script>
<div class="panel">
<div id="tabpage">
<ul>
<li><a href="#tab-1"><span>Content 1</span></a></li>
<li><a href="#tab-2"><span>Content 2</span></a></li>
<li><a href="#tab-3"><span>Content 3</span></a></li>
</ul>
<div id="tab-1">asdasd</div>
<div id="tab-2">asdasd2</div>
<div id="tab-3">asdasd3</div>
</div>
</div>
I really hope someone can help me because im searching for hours now.
Thanks,
Toreddo