In jQuery fullcalendar we have previous and next buttons. How can we call some events on click of these buttons?
Just a quick update, no idea for how long but the accepted answer works for me like this:
$('.fc-prev-button').click(function(){
alert('prev is clicked, do something');
});
$('.fc-next-button').click(function(){
alert('nextis clicked, do something');
});
Notice slight change,
also on today click is as follows:
$(".fc-today-button").click(function () {
Hope i helped someone.