How to use the ‘scroll’ and ‘max’ options in Autocomplete
I managed to solve this problem. I found the code in jqueryUI <style> .ui-autocomplete { max-height: 200px; overflow-y: auto; /* prevent horizontal scrollbar */ overflow-x: hidden; /* add padding to account for vertical scrollbar */ padding-right: 20px; } </style> <script> jQuery(“#PeopleName”).autocomplete({ source:[“name1″,”name2″,”…”], minLength:2 }); </script> This is working.