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.
I have seen this post:
Google’s predictive text as you type code example – w/o auto suggest dropdown menu.
QUESTIONS
- Is there a suitable plug-in?
- If no plug-in, how could I do it myself. What steps should I do? Bear in mind that I am a beginner in JavaScript.
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.