$(document).on('blur', "#inputField", function () {
$(this).trigger('autocompleteselect');
});
From Karthik's suggestion, an explanation: bind a handler for the input box's blur event, so that when the user leaves the field, it runs. This function then calls triggers the 'autocompleteselect' event that should (in theory) be also bound to this input box. Since nKognito says this isn't working... well, I guess I need to see some more code before I can troubleshoot further.
edit
Okay, based on your jsfiddle, I've tried, but failed to get the trigger for autocompleteselect to work. So now, I suggest this instead:
var list = [{id:1,Name:"John"},{id:2,Name:"Johna"}];
$('#a').autocomplete({
source: function(request, response) {
response($.map(list, function(item) {
return {id : item.id, label : item.Name};
}));
},
minLength: 2,
select: function () { selectHanlder(this) }
}).blur(function () { selectHandler(this) });
function selectHandler(this) {
// do what you will
}
This will simply call the same handler as the autocompleteselect, on the blur event. Should be the same in effect.