Scroll bar for Spservices.AutoComplete()

Feb 15, 2013 at 10:23 AM
Hi,

I am using spservice.spautocomplete function to provide auto suggest functionality for my sharepoint textbox.
The functionality works & provides search results. Am looking for scroll down bar to be displayed along with search results. tried with "MaxHeights" property but this doesnt help.

Kindly advise me on the same.

Thanks
Suganya
Coordinator
Feb 15, 2013 at 4:28 PM
You should look at the overflow CSS attribute.

M.
Mar 24, 2014 at 2:05 PM
We need to overwrite css
Add following line

$('#SPAutocomplete_').css({"max-height":"150px","overflow-y":"auto","overflow-x":"hidden"});