解决火狐浏览器对自动补全功能的缺憾

来源:互联网 发布:registax mac 编辑:程序博客网 时间:2024/06/05 06:31


只要在jquery.autocomplete.js的196的分号后加上一下代码



    }).bind("setOptions", function() {
        $.extend(options, arguments[1]);
        // if we've updated the data, repopulate
        if ( "data" in arguments[1] )
            cache.populate();
    }).bind("input", function() {  
        onChange(0, true);  
    }).bind("unautocomplete", function() {
        select.unbind();
        $input.unbind();
        $(input.form).unbind(".autocomplete");
    });
原创粉丝点击