天生我才必有用

jQuery – autocomplete

Posted in Javascript    作者:Ray    2008年二月27日

想找一个jQuery的autocomplete的实现,谁知道竟然有这么多,(官方也不推荐一下)。

先把这些网址记录下来,已被将来使用:

  1. http://www.pengoworks.com/workshop/jquery/autocomplete.htm :不过界面土了点。
  2. http://www.dyve.net/jquery/?autocomplete UI挺不错,准备先试用这个。
  3. http://plugins.jquery.com/project/jqac 这个官方网站Plugin中。
  4. http://plugins.jquery.com/project/jq-autocomplete 奇怪的是官网还有另一个,晕。

不过都没使用过,有空我会再试用一下。不过中文输入法的问题,可能还有做一点修改。

标签: ,

5 Responses to 'jQuery – autocomplete'

Subscribe to comments with RSS or TrackBack to 'jQuery – autocomplete'.

  1. taoyh said, on 七月 25th, 2008 at 9:39 下午

    你试过之后感觉如何?哪个好一点,关键是对中文的支持!

  2. Ray said, on 七月 25th, 2008 at 9:52 下午

    其实几个都差不错,对中文输入支持都不是很好。特别是回车键,当你选中后,按回车不仅把内容填入到输入框,还马上开始查询了。觉得这个比中文输入法更严重。

  3. peigen said, on 一月 9th, 2009 at 10:13 下午

    @Ray
    有解决办法的.
    把第92行改成
    $input.bind(($.browser.opera ? “keyup” : “keydown”) + “.autocomplete”, function(event) {
    即可

  4. ohr said, on 六月 5th, 2009 at 12:47 上午

    这种js的东西,如果有在线展示就好了

  5. Alex_best said, on 十月 29th, 2009 at 7:09 下午

    @Ray
    有解决办法的.
    把第92行改成
    $input.bind(($.browser.opera ? “keyup” : “keydown”) + “.autocomplete”, function(event) {
    即可

    这个也不行~~~~这个也不行~~~~这个也不行~~~~这个也不行~~~~

Leave a Reply