Am 27.06.2020 um 14:13 schrieb Imsieke, Gerrit, le-tex gerrit.imsieke@le-tex.de:
This looks quite simple but you probably saved me two to four hours of figuring out which lib to use, how to invoke the completion and how to shape the server response. Will try to use it in my app tomorrow.
This seems to be a year old, but since Gerrit just mentioned it, I realized, that some additions (for the archive, should someone search for it) may be nice. I had good success with [EasyAutocomplete](http://easyautocomplete.com)
EasyAutocomplete is a highly configurable jquery autocomplete plugin:
- It supports local and remote data sets (JSON, XML and plain text),
- Uses ajax method calls,
- Allows to search, sort and match the response phrase,
- It lets you use a couple of different list templates and even offers
you possibility to create your own list template,
- As one of the best jquery autocomplete plugins, EasyAutocomplete
supports callback handles, so it can be configured to run functions on specific events,
- It has a couple of interesting, clean, modern build in css styles
(no images requirement).
It is an MIT licensed and supports XML out of the box.
From the docs:
EasyAutocomplete plugin can be connected to an xml data provider. It
requires more configuration than json, but nothing is overly complex with this jquery autocomplete plugin.
I never used it in production, only for hobby, so I can not guarantee for good performance, but, overall, I liked working with it very much.