I used XML form a view to do Autocomplete with Yahoo UI (given that I had to use an agent for generating JSON in 6.5). Originally I too thought that I would have to tweek the original libarary, but these simple settings did it for me..
oACDS = new YAHOO.widget.DS_XHR("/Database.nsf/SVAllYUIAuto", ["entrydata", "text"]);
I used XML form a view to do Autocomplete with Yahoo UI (given that I had to use an agent for generating JSON in 6.5). Originally I too thought that I would have to tweek the original libarary, but these simple settings did it for me..
oACDS = new YAHOO.widget.DS_XHR("/Database.nsf/SVAllYUIAuto", ["entrydata", "text"]);
oACDS.responseType = YAHOO.widget.DS_XHR.TYPE_XML;
oACDS.queryMatchContains = true;
oACDS.scriptQueryParam ="readviewentries&startkey";
oACDS.scriptQueryAppend = "count=20";
HTH