[jQuery] $('table tr').hover() not working in IE
This is my jQuery code:
<-------------------------------------------->
$('table tr').hover(
function() {$(this).addClass('hover');},
function() {$(this).removeClass('hover');
});
<-------------------------------------------->
This is my CSS:
<-------------------------------------------->
tr.hover {background-color:#E6EEEE;}
tr.hover a{color: #4F839F}
tr.hover a:hover{background:none; font-weight:bold; color: #4F839F}
<-------------------------------------------->
This works fine in Firefox - it turns the background color light blue
and sets the links inside that tablerow to a darkblue.
In Internet Explore 7.0 (possibly others, but i havent tested in older
ones yet) it only changes the color of the links - it does NOT change
the color of the tablerow background-color.
Does anyone have any idea what might be causing this?
Thanks
Bryan Migliorisi