Set focus on first item of the suggestions list displayed in autocomplete
<p>I need to customize <code>autocomplete</code> widget so that the first item of the suggestions list is selected by default, so that as soon as user hits <code>enter</code> the first item of the suggestions list is selected in the autocomplete.</p>

<p>How can I do that ?</p>

<hr>

<p>I am <strong>not using jquery's autocomplete directly</strong> but through primefaces which doesnt provide option to specify autoFocus. Thus I would need to implement this autoFocus manually .</p>

<p>Can someone let me know how I can put the focus on the first item of  list even while typing in the input field</p>
