In jQuery fullcalendar we have previous and next buttons. How can we call some events on click of these buttons?
This worked for me:
$('body').on('click', 'button.fc-prev-button', function() { //do something }); $('body').on('click', 'button.fc-next-button', function() { //do something });