如果点击它应显示的日期编号Clicked on the day
。但无论我在哪里点击它总是去其他地方Clicked Everywhere
。怎么了?
dayClick: function(date, allDay, jsEvent, view) {
if (allDay) {
if ($(jsEvent.target).is('div.fc-day-number')) {
alert('Clicked on the day');
}
else{
alert('Clicked everywhere');
}
}
}