[jQuery] Highlight table row

2009-04-14 Thread spstieng
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

[jQuery] Highlight Table Row with Animate

2008-06-20 Thread briandichiara
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