javascript hide/show tabs using JQuery
Posted
by JohnMerlino
on Stack Overflow
See other posts from Stack Overflow
or by JohnMerlino
Published on 2010-06-01T17:51:47Z
Indexed on
2010/06/01
17:53 UTC
Read the original article
Hit count: 246
Hey all, I have a quick question of how I can use jquery tabs (you click on link button to display/hide certain divs). The div id matches the href of the link:
HTML links:
<table class='layout tabs'>
<tr>
<td><a href="#site">Site</a></td>
<td><a href="#siteno">Number</a></td>
</tr>
<tr>
<td><a href="#student">Student</a></td>
<td><a href="#school">School</a></td>
</tr>
</table>
</div>
div that needs to display/hide:
<div id="site">
<table class='explore'>
<thead class='ui-widget-header'>
<tr>
<th class=' sortable'>
Site
</th>
<th class=' sortable'>
Number
</th>
</tr>
</thead>
</table>
</div>
Thanks for any response.
© Stack Overflow or respective owner