here is my code, anything wrong with it ? it doesn\'t seem to display list on focus, i still have to press a key before it displays list
The generic purpose of AutoComplete is to execute on key press and based on the Letter we type it will perform often a wild-card search and show the result.
Anyway, from the code above i can see that :
focus(function(){
$(this).trigger('keydown.autocomplete');
which is attached as told by Codesleuth, to the anonymous function instead of the Control.