I am trying to autocomplete a text field to enter recipes into a form. For example, a user inputs "2 Cups" into the textbox. When she hits the "c" it autofills with the word "Cup(s)". I got that part. But I need the word "Cup(s)" to be highlighted, so if it not what the user is looking for they can just keep typing and overwrite it.
Any ideas? I'd like to use jQuery but JavaScript is awesome too.
Thanks for any help.