this.oAutoComp.formatResult = function(oResultItem, sQuery) {
return "" + oResultItem[0] + "
" + oResultItem[1];
};
method for formatResult....
why is this returning what is in the function to the formatResult method?!?
yui
formatResult
String formatResult ( oResultData , sQuery , sResultMatch )
Overridable method that returns HTML markup for one result to be populated as innerHTML of an
Parameters:
oResultData Object Result data object.
sQuery
sResultMatch
Returns: String
HTML markup of formatted result data.
No comments:
Post a Comment