I am trying to incorporate fullcalendar into my asp.net website but i keep getting this error.

Uncaught TypeError: $(...).fullCalendar is not a function

I've looked through the other threads on this error and tried using the downloaded zip file of full calendar and even replaced the script lines with website allocated references.

its giving me the error where i call $('#calendar').fullCalendar({ in the below code

This is my code :

    <link href='../fullcalendar/fullcalendar.css' rel='stylesheet' />
<link href='../fullcalendar/fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='http://fullcalendar.io/js/fullcalendar-2.1.1/lib/moment.min.js'></script>
<script src='http://fullcalendar.io/js/fullcalendar-2.1.1/lib/jquery.min.js'></script>
<script src="http://fullcalendar.io/js/fullcalendar-2.1.1/lib/jquery-ui.custom.min.js"></script>
<script src='http://fullcalendar.io/js/fullcalendar-2.1.1/fullcalendar.min.js'></script>


    $(document).ready(function () {

            defaultDate: '2015-02-12',
            editable: true,
            eventLimit: true, // allow "more" link when too many events
            events: [
                title: 'All Day Event',
                start: '2015-02-01'

and where i call it :

<div class="container">
    <div class="row">
        <div class="col-lg-12">
            <div id='calendar'></div>

Any help would be much appreciated.

Related posts

Recent Viewed