I want to be able to hidden some rows/columns within a table, till a certain option is choosen from a dropdown menu.
I've tried enclosing the <tr></tr> tags with <div> tags but this doesn't work.
Any one got an idea of a way to do this?
Printable View
I want to be able to hidden some rows/columns within a table, till a certain option is choosen from a dropdown menu.
I've tried enclosing the <tr></tr> tags with <div> tags but this doesn't work.
Any one got an idea of a way to do this?
although I haven't tried it out, try using classes.
tr.hidethis {visibility :hidden;}
....
<TR id = "hidethis">...........</tr>
or was that stupid of me? damn.
I've tried that one thanks, it still leave a gap in the table where the cells are hiding :(
Try "display: none;" as well. There's also a border-collapse, but I can't remember what that one does.