define fields used on source of JSON retrive data ('value' and 'label')
my JSON data is not at format defined on autocomplete plugin, my fields are not called "label" and "value"
in my case i use "name" and "id" for that.
to use the plug-in i propose a modify on options, like:
- $('#project').autocomplete({
source: "search.php",
label:'id',
value:'name',
to make that works i have make one fork (that fork steel works like original) to accept this two new options (value and label).
here is a link to the script source: jquery.ui.autocomplete.custom.1.8.js
i dont like to mutch to make forks, so i m asking to put that on official jquery.ui.atuocomplete