jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
onSelect event param?
I need to get the event in the onSelect
method. So I can determine the clicked target element.
Something like this:
input.autocomplete({
onSelect: function (suggestion, event) {
console.log(event.target);
}
});
Is the above in any way possible?
Currently this is not available. Would need to modify source in order to access the event object.