InlineSuggest Demo

Functionality to add inline suggestions to a text input or textarea.

Type in the top input to see inline suggestions be made.

When there are multiple suggestions which fit what you are typing, hit the up and down arrows to traverse through them.

var suggestionSet = $('theSuggestions').value.split('\n');
new InlineSuggest('theTextarea', suggestionSet, { minLengthMatch: 2 });

Suggest terms:

Feel free to edit the terms in the textarea above. One item per line, the InlineSuggest will update itself accordingly.