how to cofigure the Jquery autosuggest plugin to support for multiple words in a single textbox.
Eg. If i want to type “STACK OVERFLOW” in a textbox. as i start typing ST.. It should autosuggest for “STACK” and after space, if i type OV.. It should show OVERFLOW.
I need to configure autosuggestion for individual words in a single textbox.
NOTE: I dont want to show STACK OVERFLOW as start entering “ST”.
Similar to “Tags” suggestion in Stackoverflow, but not a tag as individual word.
You can use the Jquery UI which can be found here:
http://jqueryui.com/demos/autocomplete/#multiple
It’ll show you an example to have multiple words in a single textbox.
As for seperating the STACK from OVERFLOW, you can do that by separating them in the source value you give the plugin, such as:
This will suggest them independently.
I hope this helps.