2011-12-04 59 views
1
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的記號輸入拋出錯誤

jQuery的記號輸入:http://loopj.com/jquery-tokeninput/ jQuery的版本:1.4.4

+2

你將不得不在你使用該插件時發佈代碼。 – Pointy

回答

1

解決了這個問題,這個問題是變量的值是空的,現在解決了這個問題BU重新排列在由給定的格式JSON輸入jQuery的令牌的輸入插件網站。

+1

你能分享代碼嗎? – RubyDev