Very nice Stefan,
I thinks it would be great to have a resizable cache for items: a map
of size 10 for example for caching 10 recently seen list (since it is
very common to write something and then quickly press back-space).

Another thing: your database has Tabriz (Iran/Asia) but Tehran is missed ;)

Best.


On 8/31/06, Stefan Petre <[EMAIL PROTECTED]> wrote:
> I updated the autocomplete. Now accepts 3 callbacks:
> * onSelect - triggered when an option is selected an gets back one
> parameter an object of key/value pairs build based on the childnodes of
> 'item' tag from XML response. This way you can add whatever you want in
> 'item' tag and you'll get back.
> * onShow - triggered when the suggestion box is displayed
> * onHide - triggered when the suggestion box is hidded
>
> I added caching too.
>
> http://interface.eyecon.ro/demos/autocompleter.html in the example you
> can see how data is send to the box from the right when an option is
> selected. Basically all new features are used in the example.
>
> Thanks for your feedback.
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to