Side navigation
#6608 closed bug (invalid)
Opened May 28, 2010 03:15PM UTC
Closed May 29, 2010 01:46PM UTC
[autocomplete] result function fire 2 times
Reported by: | maurox | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.2 | |
Component: | unfiled | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi, i have this autocomplete:
$('#str_cerca_auto').autocomplete(
'/handler/get_articoli_suggeritore.ashx',
{
delay: 5,
minChars: 1,
matchSubset: false,
matchContains: false,
cacheLength: 10,
autoFill: false
}
);
$('#str_cerca_auto').result(function (event, data, formatted) {
if (data) {
if (data[1] != "0") {
aggiungi_costo(data[1]);
}
}
})
search works fine, but when i click on 1 result the function "aggiungi_costo(n)" fire two times.
i use Firefox 3
Attachments (0)
Change History (1)
Changed May 29, 2010 01:46PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This is the jQuery core bug tracker, autocomplete plugin bugs should not be reported here. Please ask on the jQuery forum.