我在PHP中有一個自動完成腳本,但代碼的問題是我無法選擇建議值使用我的鍵盤其他腳本運行良好的鼠標,但我想修復鍵盤選擇問題...粘貼一部分代碼與此...自動完成腳本的問題
$country = str_ireplace($str,"<b>".$str."</b>",($row['name']));
echo "<tr id=\"word".$row['id']."\" onmouseover=\"highlight(1,'".$row['id']."');\" onmouseout=\"highlight(0,'".$row['id']."');\" onClick=\"display('".$row['name']."');\" >\n<td>".$country."</td>\n</tr>\n";
甚至選中onkeyup函數。
請利用這個腳本,而不是給予鏈接到其他... – Sankalp 2011-04-08 18:09:50