I've tested different solutions found in here, and on the web, but I
can't get it working.
I simply want to highlight a table row.
I would like to you toggleClass
$(this).parents('tr').toggleClass("highlight");
This is my HTML code:
Title
ID
Navn
At the end of my Ajax request, I'd like to highlight a table row, so
to speak. Why doesn't this work:
id = 5
success: function(e){
$("#address"+id).css("background-color","#F9FFCF");
$("#address"+id).animate({backgroundColor:'#FFF'}, 800);
}
The first line will work, but the 2nd
2 matches
Mail list logo