javascript - TypeError: t(...).on is not a function on fullcalendar -


fullcalendar throwing error:

typeerror: t(...).on not function fullcalendar.min.js:8:11264

this script/css includes:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js"></script> <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.1/fullcalendar.min.js"></script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <link href="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.1/fullcalendar.min.css" rel="stylesheet" type="text/css"/> <link href="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.1/fullcalendar.print.css " rel="stylesheet" type="text/css"/> 

and page want use fullcalendar:

<script>    $(document).ready(function() {          // page ready, initialize calendar...          $('#calendar').fullcalendar({             // put options , callbacks here         })      }); </script> 

very basic, used code documentation page. guess i've done wrong tags.

edit: changed use non-minified version of fullcalendar. error message changed to:

typeerror: $(...).on not function fullcalendar.js:6912:2

when click on error shows:

$(document).on('mousedown', this.documentmousedownproxy); 

in function:

bindglobalhandlers: function() {     $(document).on('mousedown', this.documentmousedownproxy); }, 

the comment of kevin b solution. had upgrade jquery version.

i changed jquery script <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> , works.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -