|
if you want to hide/show the content then you should only hide/show the table tag and not the whole div, because this could help you add an event listener to that div so you can click on that div to toggle the table's visibility.
#1: search for a javascript function that will help you get a list of elements by class (if I remember correctly Dustin Diaz had published an article with a lot of useful functions)
#2: add the css class again to your div, this will help you select them
#3: create the toggle function
#4: or you can just use jquery or any other library you know how to use
__________________
...to be continued
|