我需要添加按钮示例:-Agenda按钮以及Month,Week,Day的现有三个按钮。 需要帮助
答案 0 :(得分:0)
添加议程查看按钮
$('.fc-header-right').append('<span class="fc-button fc-button-agendaList ui-state-default ui-corner-right"><span class="fc-button-inner"><span class="fc-button-content">Agenda</span><span class="fc-button-effect"><span></span></span></span></span>');
$('.fc-header-right .fc-button-agendaDay').removeClass('ui-corner-right').addClass('ui-no-right');
执行点击议程视图
$('.fc-button-agendaDay').click(function () {
alert('your custom logic goes here');
});