JQuery UI (1.8) Select Event not working on Autocomplete

Posted by Cyril Gupta on Stack Overflow See other posts from Stack Overflow or by Cyril Gupta
Published on 2010-03-24T08:21:41Z Indexed on 2010/03/24 8:23 UTC
Read the original article Hit count: 162

Filed under:
|
|
|

I am trying to use JQuery UI autocomplete (1.8) for an app. It is set up like this:

$('#txtigtags').autocomplete({
    serviceUrl: '/tags/searchtags' + $('#txtigtags').val(),
    minChars: 2,
    delimiter: ' ',
    select: function () { alert(''); },
    deferRequestBy: 500
});

According to the documentation the select event should fire whenever an entry is selected in the drop-menu and I should get the alert. But the select event is not firing at all. Neither is focus.

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui