html: <table> <tr><td></td><td></td></tr> <tr class="odd"><td></td><td></td></tr> </table>
css: .odd { background-color: red; } .dead { background-color: yellow; } javascript: $("td").hover( function() { $(this).addClass("dead"); }, function() { $(this).removeClass("dead"); } ); this won't work on .odd rows for me... dunno why... however changing css affects this...