views:

26

answers:

1

I am having issues with jquery-autocomplete

if i start typing then the results / suggestions would show.. but i want to be able to have then disappear when someone clicks somewhere else on the page, and if possible when the user hits escape.

thanks in advance.

i would like it to work like the tags textbox when submitting this question.

:D

A: 

It depends on particular plugin you're using, but two most popular autocomplete pluging for jquery have that functionality by default. Check yourself.

http://jquery.bassistance.de/autocomplete/demo/
http://jqueryui.com/demos/autocomplete

Nikita Rybak
that made it work... i guess i had an older versionthanks a lot
sala limo
question.. how do i make the list result longer... id rather now show the vertical side scroll bar.. is there an easy config section where i can set it?thanks
sala limo
@sala Yes, there should be an option for that in docs. But first, which of two plugins are you using?
Nikita Rybak
i am using v1.1
sala limo
@sala They are different unrelated plugins written by different people and not sharing any sources. So, you should choose the one you want and check its API. For example, first one has the list of options here: http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions
Nikita Rybak