[jQuery] Re: Change Table Row Color based on column content--SOLVED

2009-03-16 Thread bsisco
now if it's possible for the click event to fire on the > checkbox without it's value changing. If that happens you can use this > instead of toggleClass: > > this.checked >   ? self.addClass('selected') >    : self.removeClass('selected'); > >

[jQuery] Change Table Row Color based on column content

2009-03-16 Thread bsisco
I have a django app where i have a model which contains a boolean (checkbox) field. What i would like to do is change the corresponding table row color in the admin table based on whether or not this field is checked. i have come to the conclusion that this is only possible with jquery. i am a