Ajax Autocomplete: a pure vanilla JavaScript library that adds autocomplete and autosuggest to any text input field.
No jQuery. No dependencies. Just ~13KB of ES6+ code with a complete production API.
Key features:
- Local array and Ajax/JSONP lookup modes
- Built-in response caching and bad-query prevention
- Grouped results via
groupBywith custom header rendering - Full keyboard navigation (arrows, Enter, Escape, Tab)
- Instance lifecycle methods: enable, disable, clear, dispose
- Mobile Safari compatible
👉 Blog Post
👉 GitHub Repo
👉 Live Demo
Top comments (0)