Autocomplete with remote source and custom data
I hope someone can help. I am using autocomplete for a lookup and when using the example from the demos section of the jQuery UI site for "custom data and display" - hard coding the projects var, it works perfectly.
Is it possible to use a remote source for this? I have tried changing the source option to a remote txt file, with contents in the format of
[
{value:'a value', label:'a label'},{...}
]
I get no errors, but I get no results from the autocomplete.
Thanks