jsnewbie Posted October 11, 2013 Share Posted October 11, 2013 I'm having trouble with the .autocomplete() in jquery-ui. This method works but the output is not what I expected. I was expecting a drop-down to appear with suggestions after typing in two letters. Instead, I see something like this: 1 result is available, use up and down arrow keys to navigate. Under this, there is a bulleted list of my options. The up and down arrow keys do move through my selection, so it somewhat works, but this is not what I wanted. I am using the Google CDN to obtain jquery and jquery-ui and am also using the jquery-ui css file from there too. Any suggestions? Link to comment Share on other sites More sharing options...
HartleySan Posted October 11, 2013 Share Posted October 11, 2013 Did you reference the following page? http://jqueryui.com/autocomplete/ Also, could you please provide a link to your example so that we can get a better idea of what's going on? Thanks. Link to comment Share on other sites More sharing options...
jsnewbie Posted October 18, 2013 Author Share Posted October 18, 2013 I solved it and thanks for the link. My js code was missing the stylesheet and the div tag's css class reference. Once I put it in, it all worked. Yes, the link also helped. Thanks again. Link to comment Share on other sites More sharing options...
HartleySan Posted October 18, 2013 Share Posted October 18, 2013 Cool. Thanks for sharing the solution. Link to comment Share on other sites More sharing options...
Recommended Posts