I would like to be able to show/hide a table column based on a set of checkboxes. The HTML is generated using XSL and is not a JSP. Also, the table contains thead and tbody as well as th tags. I have tried numerous solutions found online, but none work successfully. When using the display='none', display='block' attributes, the table get formed to be in a single column. Help !!!