I am trying to build this search feature where as user types in a text box i query the server and bring suggestions and show it as a list of options to chose from.
Also multiple selections is expected. Like when we type in the to box of gmail it gives us multiple options we select one than we can start typing again and it will show more options related to the new entry.
The server responds in a json format as
{
"success": "true",
"suggestions": [
"abc",
"abd"
]}
I tried using this plugin but the response from server is expected here in a complicated format (which includes image link etc). so it didn't work out.
https://github.com/guille/TextboxList
I tried using some other plugins also but most of them dont have the feature to query the database.
I know that almost all major websites have this feature so there has be a good optimized way to do this. Can you please tell me how to get this done.