I have a jquery autocomplete example that runs on a test page, but doesn't seem to be able to get a dropdown. It just displays as a regular ul with li elements (and not on a white background with a list, as in the example). I tried this alone and with a redmond theme, any thoughts on what I might be doing wrong? I see redmond stylesheets in firebug, so the page loads them.
js (working)
$(document).ready(function() { $("input").autocomplete({ source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"] }); });
css / js includes
<script src="/public/javascripts/jquery-1.6.2.js'"></script> <script src="/public/javascripts/jquery-ui-1.8.14.custom.min.js"></script> <script src="/public/javascripts/ac.js"></script> // where the above js is <script src="/public/javascripts/jquery.tools.min.js"></script> <link rel="stylesheet" type="text/css" media="print" href="/public/stylesheets/redmond/jquery.ui.all.css"/>
here is the input:
<input name="searchString" type="text" class="searchbox ui-autocomplete" id="autocomplete"/>
(edit: added CSS, skipped this when writing the question)
source share