Jquery令牌输入抛出错误


Uncaught TypeError: Cannot call method 'replace' of undefined
highlight_termgithub.tokeninput.js:538
$.TokenList.selected_dropdown_itemgithub.tokeninput.js:557
e.extend.eachjquery.min.js:16
populate_dropdowngithub.tokeninput.js:556
$.TokenList.ajax_params.successgithub.tokeninput.js:670
f.extend._Deferred.e.resolveWithjquery.min.js:16
wjquery.min.js:18
f.support.ajax.f.ajaxTransport.send.d

当在输入框中输入任何字母生成事件时,得到上述错误,我尝试更改Jquery版本,但仍然没有任何线索问题出在哪里。

Jquery Token输入:http://loopj.com/jquery-tokeninput/Jquery版本:1.4.4

解决了,问题是值变量是空的,现在解决了它,但重新安排json输入在jquery- token_input插件网站给出的格式

相关内容

最新更新