I'm trying to implement a multiline textbox on a website. The textbox should offer a kind of autocompletion while the user is typing. The autocompletion should work similar to what is known as 'Intellisense' in ms visual studio (see screenshot below) and display the autocompletion selection (the list containing "bar", and "foo_bar") just below the textcursor.
I have started with a simple html textarea. I have found several jQuery-Plugins that help me in manipulating the textarea but one very basic problem remains.
How can I know where to position the autocompletion selection (the list containing "bar", and "foo_bar" in the screenshot)?
What html-element,text-editor,technique or plugin could help me to position the autocompletion selection right below the text cursor?
Thanks a lot
JJ
Following an example of how "intellisense" looks like: