[jQuery] Setting/removing CSS classes

[jQuery] Setting/removing CSS classes


This is related to my past DOM traversal question from a day ago.
Long story short, I have a series of checkbox inputs within table
cells. Upon a click event, the input, its containing cell, and the
containing cell's next sibling should change CSS classes.
According to Firebug, the class names are being changed correctly
(running Firefox 2). Yet, nothing is happening. In IE7, only the
input's class seems to be changing correctly.
What's even more strange is that I get the same result using a non-
jQuery method. So, I'm thinking my approach is correct, given what
Firebug is showing me, but I'm still not getting results.
So, the general HTML setup is:
<td><input class="inactive" type="checkbox" name="grid[]" value="1" /