我有一个预定义的数据对象,格式为:
c = [{
"id": "856",
"name": "House"
},{
"id": "1035",
"name": "Desperate Housewives"
},{
"id": "1048",
"name": "Dollhouse"
},{
"id": "1113",
"name": "Full House"
}]
我需要加载show this result on输入框的焦点,并且搜索应该正常工作
jQuery('#id').tokenInput(c, {
theme: "facebook",
preventDuplicates: true
});
有关tokenInput属性的任何想法吗?
由于