JQuery EasyUI 之 combobox plugin

自定义下拉过滤:

$('#cc').combobox({
filter: function (q, row) {
if (row.text.indexOf(q) >= 0) {
return true;
} else {
return false;
}
}
});
posted @ 2011-08-19 10:08  nikytwo  阅读(660)  评论(0编辑  收藏  举报