Today’s top choice is a Choose Daily original giving you over 15 jQuery Autocomplete Plugins and Tutorials. From CakePHP helpers to well known plugins, this list will give you the ability to find a jQuery Autocomplete plugin that works for you.
jQuery Plugin: Auto Complete
Auto-complete takes input from the user, and tries to form a list of words that match the users input. The function attaches itself to the input field selected, and also creates the UL drop down from within so all you need is have the styles for it ready. No parameters are required, but the path to your ajax script should be correct, and you will need styles set for the UL drop down.
jQuery plugin: Autocomplete from bassistance.de
Autocomplete an input field to enable users quickly finding and selecting some value, leveraging searching and filtering. By giving an autocompleted field focus or entering something into it, the plugin starts searching for matching entries and displays a list of values to choose from. By entering more characters, the user can filter down the list to better matches.
How To: jQuery Autocomplete
This tutorial will walk you through writing the query for the jQuery autocomplete plugin by bassistance.de mentioned above. It’s fairly simple. Once you have setup your autocomplete, which I’m not going to cover since it’s in the documentation at the link above, you just need to make your PHP function.
A small and simple yet robust form input autocomplete plugin. Uses either preloaded or Ajax request driven JSON data with options for formatting the list items and returned input value and custom events called when selecting an item or canceling the autocomplete box.
Auto-Complete Field with jQuery, JSON & PHP
To experiment with this great piece of software fromvega decided to implement an AJAX auto-complete feature. jQuery makes remote scripting a piece of cake and that led me to spend more time coding additional functionalities for the auto-complete field. In this post I’ll explain how to use my auto-complete field.
jQuery Auto-Complete Text Box with ASP.NET MVC
This is an excerpt from Chapter 13 in an upcoming book, ASP.NET MVC in Action. These days it is not uncommon to have text boxes automatically suggest items based on what we type. The results are further filtered as we type to give us the option to simply select an available item with the mouse or keyboard. One of the first examples of this in the wild was Google Suggest.
jQuery Autocomplete Helper for CakePHP
jQuery autocomplete with JSON / JSONP support, and overriding the default search parameter (q)
This post will show you how to override the default jQuery search parameter with autocomplete with JSON/JSONP support. The example here shows how to use this in an implementation for zip codes from geonames.org.
jQuery AutoComplete using XML with Key Value pair
Tutorial: Create Autocomplete feature with Java – JSP / jQuery
Autocomplete is a common feature available in lot of web tools and services. You will find lots of implementation of autocomplete features. Let us see how can we implement a simple Autocomplete feature for Country names in Java-JSP and jQuery. We will use jQuery’s autocomplete plugin for our example.
JQuery Autocomplete extraParams and CheckBoxes
This post covers a problem where the developer was having problems passing the value of a checkbox as a parameter to their AutoComplete plugin. The problem was that the checkbox always returned the initial state value rather than the selected value. If you’ve run into this or are dealing with it now, this post should help you out.
Using JQuery autocomplete with Grails and JSON
In this example i’m using a Grails controller class called KandidaatController. It contains one method to find Kandidaat objects having a lastname starting with the entered string. The objects found are returned in JSON format.
jQuery Autocomplete Mod
This is a modification of Dylan Verheul’s jQuery Autcomplete plug-in. Some enhancements include:
- Supports local data array (can now use w/out AJAX).
- Limit dropdown to XX number of results (good for limiting the results to users)
- Autofill pre-populates text box as you type
- New findValue() method can be used to programmatically determine if the value in the box is a valid option. (Useful for verifying the text entered is an existing value option.)
- Dropdown options now correctly re-position themselves on each display (which means they adjust for changing to the DOM)
- Dropdown box defaults to the width of the input field its attached to (you can manually specify a larger width as well)
- Better emulates Windows autocomplete boxes (for example: hitting delete and retyping the same box will now bring back the dropdown menu)
- Miscellaneous bug fixes
Another jQuery Autocomplete Plugin
A jQuery autocompleter with caching options to limit server requests.
JQuery Autocomplete with Ajax PHP and MySQL
I thought i would write this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more.
CAUTION: This tutorial is nice, but it uses an unvalidated query string in the SQL query, so please don’t just copy and paste. Otherwise, you’re leaving yourself wide open for attack.