Hey,

I implemented the jQuery Autocomplete plugin and when I do a search
that returns a lot of items I want a vertical scrollbar. I added the
scroll: true, and scrollHeight but the scroll bar doesn't want to work
in IE (works in FF and Chrome perfectly).

This is the jQuery I have for the plugin:

        $(document).ready(function(){
                $("#Search").autocomplete('Search.txt', {
                        width: 350,
                        minChars:3,
                        matchMatch: true,
                        scroll: true,
                        scrollHeight: 220,
                        delay: 500
                });
        });

I also played with the CSS (jquery.autocopmlete.css) by adding
overflow-y: scroll; and height

.ac_results {
        padding: 0px;
        border: 1px solid black;
        background-color: white;
        /*overflow: hidden;*/
        overflow-y: scroll;
        height: 220px;
        z-index: 99999;
}

This got the scrollbar to appear in IE, but whenever I clicked on the
scrollbar it went away because it lost focus or something.

Is there anyway I can get the scrollbar working in IE browsers or some
kind of workaround solution?

Thanks,
zLan

Reply via email to