0
I have a page that turns a list <ul>
in flaps with jQuery, and on the first page I need a button to redirect to the next tab, without needing the user to click with the mouse.
I’ve tried with the onClick
or a JS function, but it opens in a new window or even instead of selecting the tab.
Html:
<div id="tabs">
<ul>
<li><a href="#tab2">Arquivo</a></li>
<li><a href="#tab3">Download</a></li>
<li><a href="#tab4">Parâmetros</a></li>
</ul>
</div>
Javascript:
<script language="javascript">
$(function (){
$("#tabs").tabs({active:1});
});
</script>
Where does this function come from
.tabs
? Which plugin– Phiter
Oops, edited in the post, uses jQuery
– Natan Hoffmann