Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
31
rated 0 times [  38] [ 7]  / answers: 1 / hits: 111280  / 13 Years ago, fri, july 22, 2011, 12:00:00

In jQuery fullcalendar we have previous and next buttons. How can we call some events on click of these buttons?


More From » jquery

 Answers
13

You couldsimply attach an event to the button:



$('.fc-button-prev span').click(function(){
alert('prev is clicked, do something');
});

$('.fc-button-next span').click(function(){
alert('nextis clicked, do something');
});

[#91061] Thursday, July 21, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
samarab

Total Points: 620
Total Questions: 95
Total Answers: 89

Location: Bonaire
Member since Wed, May 11, 2022
2 Years ago
;