DBneophyte
Technical User
Hi,
I have 3 buttons - 'Show Students', 'Show Faculty', 'Show All'
I've got rows of student records and faculty records in tables enclosed by div tags.
eg:
How do i set it up so that when i click on the 'Show Students' button, the 'faculty' div would get hidden? Likewise, when i click on the 'Show Faculty' button, the 'student' div should get hidden. Clicking on 'Show All' will display both divs...Please help!!!
I have 3 buttons - 'Show Students', 'Show Faculty', 'Show All'
I've got rows of student records and faculty records in tables enclosed by div tags.
eg:
Code:
<div id = "student">
<table>
.......
</table>
</div>
<div id = "faculty">
<table>
.......
</table>
</div>
How do i set it up so that when i click on the 'Show Students' button, the 'faculty' div would get hidden? Likewise, when i click on the 'Show Faculty' button, the 'student' div should get hidden. Clicking on 'Show All' will display both divs...Please help!!!