problem with autocomplete script
<p>I have a autocomplete script in PHP but problem with the code is I can't select suggested Values using my keyboard else script is running well with mouse but I wanna fix keyboard selection problem... Pasting a part of code with this....</p>

<pre><code>$country = str_ireplace($str,"&lt;b&gt;".$str."&lt;/b&gt;",($row['name']));
echo "&lt;tr id=\"word".$row['id']."\" onmouseover=\"highlight(1,'".$row['id']."');\" onmouseout=\"highlight(0,'".$row['id']."');\" onClick=\"display('".$row['name']."');\" &gt;\n&lt;td&gt;".$country."&lt;/td&gt;\n&lt;/tr&gt;\n";
</code></pre>

<p>even is selected onkeyup function.</p>
