0
我想在标题(agendaWeek视图)上添加事件并在Month视图中添加日期编号。 我这样做:将活动处理程序添加到fullCalendar
$(".fc-day-number").click(function(){
alert($(this).text());
});
$(".fc-widget-header").click(function(){
alert($(this).text());
});
但它不工作。但是,当我添加鼠标悬停,而不是点击事件,它的工作原理
$(".fc-day-number").mouseover(function(){
alert($(this).text());
});
$(".fc-widget-header").mouseover(function(){
alert($(this).text());
});