Need to make columns in a table appear/disappear based on checkboxes
November 27, 2008 10:44 AM Subscribe
WebDesignFilter: I am trying to create a table with columns appearing based on what checkboxes are selected.
posted by the_dude to computers & internet (4 answers total)
I'm trying to create table, basically like a spec-sheet. What I want to do is to make the user be able select what items to compare. Essentially, the columns would appear based on what checkboxes are selected.
I'm quite very comfortable with CSS and HTML but a JS newbie at this point so this took me a lot longer than I thought and I really didn't get anywhere. I would really appreciate a few pointers. I haven't seen any websites where they had that so maybe if anyone knows a site where they have that I can try checking out the code to see how it works. And I'd definitely appreciate if someone actually points me to a solution.
Thanks a lot.