jsnewbie 0 Posted October 11, 2013 Report 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? Quote Link to post Share on other sites
HartleySan 826 Posted October 11, 2013 Report 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. Quote Link to post Share on other sites
jsnewbie 0 Posted October 18, 2013 Author Report 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. Quote Link to post Share on other sites
HartleySan 826 Posted October 18, 2013 Report Share Posted October 18, 2013 Cool. Thanks for sharing the solution. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.