How to get Scroll position in Auto Complete
<p>I am using Jquery AutoComplete. <code>http://api.jqueryui.com/autocomplete/</code></p>

<p>The problem i am facing is when this jquery auto complete fetch me the result it shows me all in one line. i want that it should show 10 result and rest in scroll.</p>

<pre><code>$("#&lt;%=txtProductName.ClientID %&gt;").autocomplete({
                source: function (request, response) {
                    $.ajax({
                        url: '&lt;%=ResolveUrl("~/Service.asmx/GetProductAutoComplete") %&gt;',
                        data: "{ 'prefix': '" + request.term + "'}",
                        dataType: "json",
                        type: "POST",
                        contentType: "application/json; charset=utf-8",
                        success: function (data) {
                            response($.map(data.d, function (item) {
                                return {
                                    label: item.split('-')[0],
                                    ID: item.split('-')[1],
                                    rt: item.split('-')[2]

                                };
                            }));
                        },
                        error: function (response) {
                            alert(response.responseText);
                        },
                        failure: function (response) {
                            alert(response.responseText);
                        }
                    });
                },
                select: function (e, i) {
                    $("#&lt;%=txtQuantity.ClientID %&gt;").val('1');
                    $("#&lt;%=hdfProductID.ClientID %&gt;").val(i.item.ID);

                },
                minLength: 0,
                autoFocus: true,
                scroll:true


            });
</code></pre>
