Ritendra Mall

Ritendra Mall

  • NA
  • 316
  • 33.4k

Uncaught Typeerror $(...).fullCalendar is not a function

Feb 11 2020 3:51 AM
Hello,
 
I am implementing fullCalendar.js for my project , but i facing some javascript error for it "Uncaught Typeerror $(...).fullCalendar is not a function" . I'm using MVC # for this .
 
Below is my code for implementation :-
  1. <head>  
  2. <link href="@Url.Content("~/Content/ProjectMeetingPlanner/jquery-ui-1.7.2.custom.css")" type="text/css" rel="stylesheet" />  
  3. <link href="@Url.Content("~/Content/ProjectMeetingPlanner/fullCalendar.css")" rel="stylesheet" type="text/css" />  
  4. <script src="@Url.Content("~/Scripts/ProjectMeetingPlanner/jquery-ui-1.7.2.custom.min.js")" type="text/javascript"></script>  
  5. <script src="@Url.Content("~/Scripts/ProjectMeetingPlanner/moment.min.js")" type="text/javascript"></script>  
  6. <script src="@Url.Content("~/Scripts/ProjectMeetingPlanner/fullcalendar.min.js")" type="text/javascript"></script>  
  7. </head>  
  8. <body>  
  9. <div id="calendar">  
  10. </div>  
  11. <script type="text/javascript">  
  12. $(document).ready(function () {  
  13. $('#calendar').fullCalendar({  
  14. theme: true,  
  15. header: {  
  16. left: '',  
  17. center: '',  
  18. right: ''  
  19. },  
  20. defaultView: 'agendaDay',  
  21. editable: false,  
  22. events: "/Calendar/GetEvents/"  
  23. });  
  24. });  
  25. </script>  
  26. </body>  
Error:-
jquery-1.5.1.min.js:19 Uncaught TypeError: $(...).fullCalendar is not a function
at HTMLDocument.<anonymous> (ProjectMeetingPlanner:365)
at Object.resolveWith (jquery-1.5.1.min.js:19)
at Function.ready (jquery-1.5.1.min.js:19)
at HTMLDocument.A (jquery-1.5.1.min.js:19)
 
Please help me to resolve it .
Thank yo u

Answers (1)