How to speed up jQuery for events on many elements
<p>I'm using the following jQuery code to highlight the row the mouse is over:</p>

<pre><code>$("#rpt tr:has(td):not(.noHighlight)").hover(
    function() { $(this).css("background-color", "Silver"); },
    function() { $(this).css("background-color", "Transparent"); }
);
</code></pre>

<p>When I start getting more than 500 rows, there is a noticeable delay, as the color is about 1/2 second behind the cursor. For very long tables, this causes IE to offer to stop the script as it takes a long time to render.</p>

<p>Is there a better/faster way to achieve this affect that can handle a large number of rows?</p>
