[jQuery] Hover bug in Firefox?

[jQuery] Hover bug in Firefox?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=338384916-05092007>I've found some
unexpected behaviour using hover in Firefox.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=338384916-05092007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=338384916-05092007>This
html:<BR><table><BR><tr><BR>    <td>Andy
Matthews</td><BR>    <td>Web
Developer</td><BR></tr><BR></table></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=338384916-05092007>and this jQuery
code:<BR>$('tr').hover(function(){<BR>   
$(this).css('backgroundColor','797979');<BR>},function(){<BR>   
$(this).css('backgroundColor','6c6c6c');<BR>});</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=338384916-05092007>"Should" result in
the TR changing background color on hover, right? It works just fine in IE. But
it doesn't work at all in FF2, just fails silently. I know I could apply a class
on hover, but I shouldnt' have to right? If this code works in IE, then by all
means it should work in FF. Am I doing something wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><SPAN style="FONT-SIZE: 14px"><B><FONT face="Century Gothic">
<DIV align=left><SPAN class=159130414-05012007><FONT face=Arial size=2><SPAN
class=159130414-05012007><FONT face=Arial
size=2>____________________________________</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=159130414-05012007><FONT face=Arial size=2><SPAN
class=159130414-05012007></SPAN></FONT></SPAN> </DIV>Andy
Matthews<BR></FONT></B></SPAN><SPAN style="FONT-SIZE: 11px"><FONT
face="Century Gothic"><SPAN
style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'Century Gothic'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes">Senior
ColdFusion Developer</SPAN><BR></FONT></SPAN><SPAN style="FONT-SIZE: 11px"><FONT
face="Century Gothic"><FONT color=#808080><IMG alt="" hspace=0
src="cid:338384916@05092007-201A" border=0><BR></FONT>Office:  877.707.5467
x747<BR>Direct:  615.627.9747<BR>Fax:
 615.467.6249</FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 11px"><FONT
face="Century Gothic">amatthews@dealerskins.com<BR><A
href="http://www.dealerskins.com/">www.dealerskins.com</A></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>