Auto-Suggestion Plugin
Auto-Suggestion Plugin
I wrote a simple auto-suggestion box using a <INPUT> and <SELECT> tags
where the keyup <INPUT> actions call ajax to fill in the select
box. In general, it works very nicely, however it has other
considerations that was missing.
So I looked for other plugins and found three of them at the JQuery
web site, but I they all seem to be incomplete in some key
considerations as well, and quite frankly, compared to my simple
version, much larger in code. But even then, if it worked, that would
be ok.
It would seem there would be a complete jQuery auto-suggestion plugin
ready to go.
Specifically, one that:
1) allows you to limit the view height of the selections with a
scrollable window,
2) one that allows you to use the down arrows when you type and the
suggestions appear, allowing you to move into the "suggestion select"
box to select an item. This includes escaping from the selection so
you can continue to type.
3) one that works consistently across all browsers.
In short, emulating a real <SELECT> box.
In one plugin I found, jquery.suggest.js.
http://www.vulgarisoip.com
http://www.vulgarisoip.com/files/jquery.suggest.js
http://www.vulgarisoip.com/files/jquery.suggest.css
It seems to be the better of the three, but lacked the above three
simple requirements.
I tried to change a few things to give it a scroll box, satisfying #1,
but fails with #2 and #3.
So anyway, is there a auto-suggest plugin that works with the above
simple requirements?
My simple exploration version does #1 and #3 perfectly, but I hadn't
worked in #2 to make it work smoothly yet with all the keyboard
action, hence why checking out is this is already done cleanly and
completely.
Thankes in Advance
--
HLS