I have some tabs that load ajax content. When I click on the tabs it loads the ajax content perfectly no issues works exactly like it does in the Jqueryui demos.
But when I try and change tab using an onclick function it opens the tab but doesn't do the ajax. Is this a known issue can it be done?? Do ajax tabs rely on the user clicking the href to know what to load.
This is the code:
$("#signuptabs").tabs();
<div id="signuptabs">
<ul>
<li><a href="type.php"><span>type</span></a></li>
<li><a href="umber.php"><span>CNumber</span></a></li>
<li><a href="vices.php"><span>s</span></a></li>
<li><a href="ups.php"><span>ups</span></a></li>
<li><a href="ext.php"><span>ext</span></a></li>
<li><a href="enu.php"><span>IMenu</span></a></li>
<li><a href="info.php"><span> Information</span></a></li>
</ul>
</div>
$(".step2next").click(function() $('#signuptabs').tabs("select" , 1));
Its won't load the external content when using the click function.