2015-04-23 126 views
-2

我採用了棱角分明的js和JQuery,和我不斷收到以下錯誤信息輸入字段,當點擊:類型錯誤:未定義是不是一個函數 - Angularjs + JQuery的

TypeError: undefined is not a function 
at bg.$setTouched (angular.js:20798) 
at l.$get.l.$eval (angular.js:16131) 
at l.$get.l.$apply (angular.js:16159) 
at HTMLInputElement.<anonymous> (angular.js:20798) 
at HTMLInputElement.m.event.dispatch (jquery-1.11.2.min.js:3) 
at HTMLInputElement.m.event.add.r.handle (jquery-1.11.2.min.js:3)angular.js:12016 (anonymous function)angular.js:8555 $getangular.js:16163 $get.l.$applyangular.js:20798 (anonymous function)jquery-1.11.2.min.js:3 m.event.dispatchjquery-1.11.2.min.js:3 m.event.add.r.handle 

我的輸入字段看起來財產以後這樣的:

<div class="form-group"> 
     <input type="text" class="form-control" id="city" 
      placeholder="city" ng-model="pc.newProperty.city"> 
</div> 

一切似乎工作正常,但我想擺脫這些錯誤消息,但我不明白什麼是造成他們,任何想法?

+0

角度版,angular/jquery的任何插件? –

+0

angular version:1.3.15,插件:jquery.easing,query.animate-enhanced,jquery.superslides,angular-ui-router,angular-animate 1.2.0-rc.2 – Anhermon

回答

1

發生此錯誤是因爲您的角度動畫和角度JavaScript文件的不同版本。

相關問題