87,997
社区成员




$("#XX").autocomplete(json数据, {
minChars : 0,
width : 230,
matchContains : true,
autoFill : false,
formatItem : function(row, i, max) {
return row.name + "\ [" + row.id + "]";
},
formatMatch : function(row, i, max) {
return row.name + " " + row.id+ " " + row.pym;
},
formatResult : function(row) {
return row.name;
}
});
类似这样