I have a jQuery Autocomplete plugin and when I copy/paste into it, it doesn't trigger. Any way to make it work?
$("#ID").bind("paste", function () {
setTimeout(function () {
$("#ID").autocomplete("search", $("#ID").val());
}, 0);
});
$('#ID').bind('paste', function(e) {
setTimeout(function() {
$('#ID').trigger('autocomplete');}, 0);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With