FireFox下jQuery UI Autocomplete在中文输入下的Bug

FireFox下jQuery UI Autocomplete在中文输入下的Bug,主要原因是中文輸入時不會觸發原本在autocomplete 榜定的keydown事件。


我記得之前也是遇到autocomplete 中文輸入法的bug
主要原因是中文輸入時不會觸發原本在autocomplete 榜定的keydown事件。
try this one:
//fixed firefox and ie in IME bug
jQuery(‘#searchkey’).bind( “input.autocomplete”, function(){
             $(this).trigger(‘keydown.autocomplete’);
})

转自:[url=http://groups.google.com/group/jquery-/browse_thread/thread/8f34129edc5da55e]http://groups.google.com/group/jquery-/browse_thread/thread/8f34129edc5da55e[/url]