First of all track the previous and next button click event using jquery.
For next button
$('.fc-next-button').click(function(){ var get_month= $('#calendar').fullCalendar('getDate'); alert(get_month.format()); })
For previous button
$('.fc-prev-button').click(function(){ var get_month= $('#calendar').fullCalendar('getDate'); alert(get_month.format()); })
That’s all
Question and answer is powered by AnsPress.io