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


只要在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");
    });

猜你喜欢

转载自blog.csdn.net/xblywl/article/details/73550778