Search code examples
javascriptautocompletetextareamootools

Word-based autocomplete for textarea (with or without Mootools)


I'ld like to have a autocomplete function for a textarea but not for the full contents (text). It should work on every word while you're typing.

I add the letters "aut" here just in the middle of the text and it should offer me "autocomplete" (from a predefined/external list of words).

Does something like this exist?

Due to local regulations, I'm limited to Mootools as framework, jQuery is not allowed but any pure JS is fine.

Thank you all.


Solution

  • Have you looked into the MooTools Forge? There you'll find plenty of MooTools based solutions.

    The one you're looking for is called Meio.Autocomplete, but there are some other ways of solving this, too.