Using Asp.net and jQuery I have a GridView with a CheckBox column. Right now I have code that highlights (green) a row whenever the mouse goes over it (and unhighlights (yellow) on mouse out). I would like to add the ability to highlight it a different color (pink) whenever the checkbox in that row is checked.
My problem is that after checking the box and the row highlights pink, when I mouse out, the row returns to the original color (yellow). How can I make the row with the checkbox not react to the mouse out code?
Here is some example code:
And some css: