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');
>
>
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
2 matches
Mail list logo