2013-11-25 75 views
0

我看到很多'Uncaught TypeError',但沒有一個答案有幫助。Uncaught TypeError:Object [object Object] has no method'bootstrapDatepicker'

它看起來是部落事件的Ajax-calendar.js和foundation.min.js

如果我刪除foundation.min.js的日期選擇器的工作原理沒有錯誤,但之間的事情,當我把它放回去在我得到的錯誤。這裏是我的Chrome檢查顯示:

Uncaught TypeError: Object [object Object] has no method 'bootstrapDatepicker' tribe-events-ajax-calendar.js:42

(anonymous function) tribe-events-ajax-calendar.js:42

l foundation.min.js:18

c.fireWith foundation.min.js:18

y.extend.ready foundation.min.js:18 enter code here

它打破了這條線(42)在部落事件的Ajax-calendar.js

var tribeBarDate = $tribedate.bootstrapDatepicker(tribe_var_datepickerOpts).on('changeDate', function (e) {

Here is the page

任何幫助將是很大的不勝感激!

+0

嘗試包括bootsrap日期選擇器JS的foundation.js文件 –

+0

等之後' ' –

+0

哦,夥計......謝謝!你搖滾。不能相信我沒有想到這一點。再次感謝!! – user3029697

回答

0

嘗試包括bootsrap日期選擇器JS後foundation.js文件

<script src="http://junknlove.fervorinteractive.com/wp-content/themes/jnl/js/foundation.min.js"></script> 
<script src="http://junknlove.fervorinteractive.com/wp-content/themes/jnl/js/jquery.foundation.orbit.js"></script> 
<script src="http://junknlove.fervorinteractive.com/wp-content/themes/jnl/js/jquery.foundation.accordion.js"></script> 
<script type='text/javascript' src='http://junknlove.fervorinteractive.com/wp-content/plugins/the-events-calendar/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js?ver=3.2'></script> 
相關問題