I am using jQuery Autocomplete on my ASP.net page. I am not sure how to change the backgroud color of the AutoComplete. Right now, it displays the list with “Clear” background.
Where can i change the background color? (And, I am wondering why it’s not taking the default settings. I downloaded the jQuery from JQueryUI website).
Thanks.
The jQuery Autocomplete control uses a series of Themeroller styles for presentation:
You could either add a custom style for
ui-autocomplete liorui-autocomplete a. There doesn’t appear to be a way to define your own purpose-built styles as part of the control.The likely best way to define the background colour is by overriding the
.ui-menu .ui-menu-itemstyle.