[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread Mike Alsup
I have a table with multiple TDs (with different classes) that I want to toggle (show/hide) with one function, from checking different checkboxes that relate to the different TDs. I'm thinking I should pass a variable to the function (from each checkbox) which then show/hides the different

[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread deadbeatjam
Hi Mike, and thanks for the answer. The thing is that I want to show/hide the TDs and not the entire table itself. I have multiple rows, and want to toggle one TD for each row - not all the TDs in each row. On 8 Mar, 14:54, Mike Alsup mal...@gmail.com wrote: I have a table with multiple TDs

[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread Mike Alsup
The thing is that I want to show/hide the TDs and not the entire table itself. I have multiple rows, and want to toggle one TD for each row - not all the TDs in each row. I know. That's exactly what I was showing how to do. You add/remove a class on the table but put a style rule on the