JQuery UI (1.8) Select Event not working on Autocomplete
- by Cyril Gupta
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?