jQuery Autocomplete .data(“autocomplete”) is undefined
I had the same problem and based on the 1.10.0 version of jquery ui, I think you should try data(‘uiAutocomplete’) instead of data(‘autocomplete’) Based on Johnny’s comment, I checked how the .data() function works. Yes, jQuery returns null from .data() call when selector does not find any items. So if there is no matching element … Read more