We are using jQuery full calendar for displaying events from database.
I need to display the events below the calendar according to user selected month onchange
.
I can get data according to event date but I can t get user selected month in jQuery calendar.
$( #calendar ).fullCalendar({
theme: true,
header: {
left: today ,
center: prevYear,prev,title, next,nextYear ,
right: month,agendaWeek,agendaDay
},
buttonText: {
prevYear: Prev
},
editable: false,
events: [
<?php foreach ($edumeet_invite_det as $key => $edumeet_det): ?>
<?php $edumeet_start = $edumeet_det->getFromDate(); ?>
<?php $edumeet_end = $edumeet_det->getToDate(); ?>
<?php $title = $edumeet_det->getTitle(); ?>
{
title: <?php echo $title; ?> ,
start: <?php echo $edumeet_start ?> ,
end: <?php echo $edumeet_end ?> ,
allDay: false
},
<?php endforeach; ?>
],
eventColor: #378006 ,
});
这是我使用的日历功能,我需要获得选定月份的用户<代码>onchange。 是否有办法解决这一问题?