I did a few searches, and this seems to be not uncommon, but none of the published solutions seem to work for me.
I tried several different methods:
jQuery(document).ready(function(){ jQuery( "#on-good-terms-add-term" ).autocomplete({ source: ongoodtermsavailableTags, }); jQuery( "#on-good-terms-add-term" ).result(function(event, data, formatted) { alert(data); }); });
and
jQuery(document).ready(function(){ jQuery( "#on-good-terms-add-term" ).autocomplete({ source: ongoodtermsavailableTags, }).result(function(event, data, formatted) { alert(data); });
});
Both give me the same console error. I would be grateful for any help. Thanks
jdp
source share