[jQuery] addClass to tablesorter row?
I am trying to add a class to the row clicked on in a tablesorter
table...
The JS:
$("#ticket-list-table tbody tr").livequery('click', function() {
$(this).addClass("selected");
});
The CSS:
.selected {
font-weight:bold;
color:#FFF;
background: #999;
}
It works, BUT only the font-weight. It ignores the color and
background parameters.
Any idea what I am missing here?