Select the first field from jQuery autocomplete function automatically
<p>When I mouseover a field in my autocomplete list it adds a class named selected. I want it to do that by default on the first line as soon as you start typing. How would i select the first element in that list and change it's class? </p>

<p>I'm using this now but it flickers a lot. </p>

<pre><code>$('.name').eq(0).addClass('selected');
</code></pre>
