jquery ui 自動完成對中文字搜尋Bug(firefox)
生活随笔
收集整理的這篇文章主要介紹了
jquery ui 自動完成對中文字搜尋Bug(firefox)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
jQuery UI 版本:1.8.9
主要原因是中文輸入時不會觸發原本在autocomplete 榜定的keydown事件。
try this one:
//fixed firefox and ie in IME bug
jQuery('#searchkey').bind( "input.autocomplete", function(){
? ? ? ? ? ? ?$(this).trigger('keydown.autocomplete');
參考:http://groups.google.com/group/jquery-/browse_thread/thread/8f34129edc5da55e
轉載于:https://www.cnblogs.com/joe-yang/archive/2011/02/18/1958186.html
總結
以上是生活随笔為你收集整理的jquery ui 自動完成對中文字搜尋Bug(firefox)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 年底离职的都是人才 想换工作的一定抓住时
- 下一篇: B3log Solo 0.2.5.1 发