Now, I know that 1.2.2 is out but this should still apply. If you look under DOM -> Manipulation -> remove the example seems to show the way I coded it. Is it wrong on there? Is there a better quick reference out there than that site?
What Bear said'll work great! Keep in mind, however, that animating table changes is still quite a bit of black magic, because table rows can't smoothly and reliably change size. If you want to change the size of a table row, you'll probably need to wrap all of the TRs in individual DIVs, give the DIVs overflow: hidden, and then shrink the divs.
where you have the following in your CSS:
[ January 21, 2008: Message edited by: Yehuda Katz ]
Yeah, I should have said "alternative" rather than correction. My bad. There's no need to select all the tr's and then filter them rather than selecting only the target ones in the first place. [ January 21, 2008: Message edited by: Bear Bibeault ]
Joined: Jan 14, 2008
My comment above, just to be clear, only applies to *animating* table cells with slideUp or slideDown. That's because table cells can't get overflow: hidden and so can't animate smoothly.