Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
jsnewbie

Ch. 13 - Frameworks - Jquery Ui Autocomplete

Recommended Posts

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? 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...