open multipl divs with jQuery tabs
Posted
by
user1667419
on Stack Overflow
See other posts from Stack Overflow
or by user1667419
Published on 2012-09-13T03:29:54Z
Indexed on
2012/09/13
3:38 UTC
Read the original article
Hit count: 118
I want to tab on a tab and open 2 divs. Like:
<div id="tabs">
<ul>
<li class="tab1"><a href="#tab1">tab1</a></li>
<li class="tab2"><a href="#tab2">tab2</a></li>
</ul>
<div id="tab1">this is tab1</div>
<div id="tab2">this is tab2</div>
<div id="tab3">this is tab3</div>
</div>
If I want to click tab1 tab, it shows both 'this is tab1' and 'this is tab3'. How can I achieve? Cheers.
© Stack Overflow or respective owner