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 a
elf().addClass("inactive");
>
> }
>
> should do it.
>
> On Jun 11, 10:26 am, Kevin Major <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello everyone,
>
> > I'm currently in a bit of a bind. I have a checkbox that's within a
> > table cell
Hello everyone,
I'm currently in a bit of a bind. I have a checkbox that's within a
table cell. I want it so when the input is clicked, the parent table
cell AND its siblings change their classes. I can get to the parent
element, but how would I attach this functionality to its siblings?
Righ
3 matches
Mail list logo