How do you bind jQuery UI autocomplete using .on()?
If I understood correctly, your problem looks very similar to one I saw in another topic. I’ll adapt my answer to your case, let’s see if it solves your problem: $(document).on(“focus”,[selector],function(e) { if ( !$(this).data(“autocomplete”) ) { // If the autocomplete wasn’t called yet: $(this).autocomplete({ // call it source:[‘abc’,’ade’,’afg’] // passing some parameters }); } … Read more