To add a special style to table cells that are being hovered over,
$("td").hover( function () { $(this).addClass("hover"); }, function () { $(this).removeClass("hover"); } );