[jQuery] [autocomplete] function instead of list
Hi folks,
Is there a way to call function instead of taking data from the list
when doing local field completion ?
In the example I am trying to form a list of artists locally in JS
function :
// make artist input auto completing
$('#artist').autocomplete(function() { return artists; }), {
matchContains: true });
however it does not work, any other way to achieve this ?
thanks