我正在寻找一个jquery插件,它可以替换或改进Internet Explorer 6中的html<select>标记。
想想这种情况:
<select name="test">
<option>Apple</option>
<option>Apricot</option>
<option>Lemon</option>
<option>Peach</option>
<option>Pear</option>
<option>Raspberry</option>
</select>
在IE7或更高版本(或Firefox)中,您选择结果选择框并键入“apr”,您将选择“apricot”,因为它从apr开始。
在IE6中,您将以覆盆子结尾,因为在“A”中,它选择“Apple”,然后选择“P”->“Peach”,最后选择R->“Raspberry”。
现在我的客户想要的是IE6中的IE7行为。有没有可能jquery的插件可以帮我避免编写自己的选择框实现?
我已经找到了一些,但它们要么完全缺乏合理的键盘支持,要么不适用于IE6。
(而且:不,更新到IE7还不是一个选项。)