Ticket #4292 (closed bug: invalid)
[autocomplete] unautocomplete does not work properly with jQuery 1.3.2
|Reported by:||till||Owned by:|
|Keywords:||autocomplete, bassistance, plugin, unbind||Cc:|
The unautocomplete method does not work correctly in latest autocomplete plugin 1.0.2 with jQuery 1.3.2
unautocomplete() should remove all autocomplete functionality from a jQuery object. The problem is that apparently jQuery's unbind() without parameters does not unbind the plugin's keydown handler. This results in multiple keydown handler calls, if one binds another autocomplete afterwards (of the previous binded autocompletes as well as from the current new one).
Fix would be to do this specifically. In jquery.autocomplete.js line #196 the generic $input.unbind(); is done; before that a $input.unbind("keydown.autocomplete"); is needed.
(This might be a jQuery bug.)