Problem Statement: Using javascript or Jquery, I want to build this functionality where if user types a specified character in a textbox, say @ symbol, then values of an array should be displayed in drop down. say for example I have array with values: values[ yyyy,yy]
when User types: abc@ then after @ yyyy and yy should appear in drop down. It is like when we write @ symbol in whatsapp group it shows the list of contacts of that group. this functionality is similar to that. Also, it is different from normal autosuggest which shows suggestions when user types something.It is different from jquery autocomplete functionality, where suggestion is shown based on the input present in the text box. Here we want values of a predefined list in drop down, the moment a user types @ symbol and not on the basis of whole input in the textbox.
Experts please help to achieve this.