jQuery Autocomplete Mod
This is modification of Dylan Verheul's jQuery Autcomplete plug-in.
I customized his library adding the features I needed and fixing issues
I considered bugs.
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
Dropdown options now correctly re-position themselves on
each display (which means they adjust for changing to the
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
Miscellaneous bug fixes
There have been several reports of the contents of the iFrame being
placed into the text box when the [TAB] key is pressed. This is due
to a bug in jQuery v1.1.1 and not w/this code. See the following
thread on the jQuery Mailing List for more information:
This bug is fixed in jQuery v1.2.1.
autocomplete_ajax.cfm (as text file)