Autocomplete selected row index
Hello,
I'm currently trying to customize the autocomplete plugin to fit my needs, but I have one major problem and I can't find a solution.
I want to retrieve the index of the selected row in the list when I'm pressing TAB or RETURN key (which is the same in the plugin code).
I know how to do that with a mouse click, because there is a variable named "active" which contains the wanted index, but I can't use it with the keyboard...
I hope that my explanation is clear and that somebody here will be able to help me.
Thanks !
PS : I forgot to mention, this is for the autocomplete plugin from Jörn Zaefferer ;)