[jQuery] Problem with Jorn's autocomplete plugin

[jQuery] Problem with Jorn's autocomplete plugin


I've tried deploying this but I'm having problems.
http://jquery.bassistance.de/autocomplete/
The problem I have is that when I select an item from the autocomplete
dropdown my input is reset with the value of that one only.
So, if I start typing
"Stockholm, Copenhagen, Hels" and then it offers me "Helsinki" in the
dropdown-thing; when I then select the "Helsinki" alternative,
everything else in the inbox box is replaced with just "Helsinki".
Here's what I've got in terms of code:
$("#id_free_tags").autocomplete('getFreeTagSuggestion', {
multiple: true,
matchContains: true,
formatItem: formatItem,
formatResult: formatResult
});
<input name="free_tags" id="id_free_tags" value="" />
The only obvious difference I can see is that I'm using jQuery 1.2.1 and
the examples on http://jquery.bassistance.de/autocomplete/ uses jQuery
1.1.2
Any ideas anyone?
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com

























    • Topic Participants

    • peter