I'm trying to get an auto-suggest like Google has but without the dropdown. By that I mean the text is suggested inside the textarea (not as a dropdown), see printscreen:
I know of all the jquery pluggins like jqueryui autocomplete, jquery token, ... and so on. But I don't want a drop down, I just want the text to appear next to the word in grey. If user hits "enter" and the suggestion is put inside.
- Is there a suitable plug-in?
preguntado el 02 de febrero de 12 a las 11:02
I've created simple example with text input instead of textarea that can get you started http://jsfiddle.net/arMCq/16/
In my fiddle, you accept autocomplete suggestion by pressing TAB key.
Note, that the code is just to illustrate how can stuff like this be done. It need tweaks, cleaning and organizing before use in production environments.