An extremely lightweight completion suggester plugin for jQuery.
Compatible with jQuery 1.7.0+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+. No dependencies except the jQuery library. Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
This plugin was developed by and for Pixabay.com - an international repository for sharing free public domain images. We have implemented this plugin in production and we share this piece of software - in the spirit of Pixabay - freely with others.
https://goodies.pixabay.com/jquery/auto-complete/demo.html
- Lightweight: 3.4 kB of JavaScript - less than 1.4 kB gzipped
- Fully flexible data source
- Smart caching, delay and minimum character settings
- Callbacks
- Fixed #29: Select item with tab.
- Fixed #33: Suggestions not hidden on fast input.
- Fixed incorrect selection by mouse when suggestions are scrolled down.
- Fixed #7: Firing onSelect callback on enter and passing event and selected suggestion item as additional arguments.
- Fixed #4: renderItem bugfix
- Added renderItem function options allowing custom data passing and autoComplete rendering (Pixabay#3).
- Improved auto positioning.
- Added menuClass option for custom styling multiple autoComplete dropdowns on one page.
- Fixed destroy method.
- Another fix of the auto-positioning method on init.
- Fixed auto positioning of suggestions container on init.
- First release