events: function (start, end, timezone, callback) { $.post("后端url", {}, function (jsonObj) { var events = []; $(jsonObj.data).each(function () { events.push({ id: this.ID,//唯一标识 title: this.Title ,//显示的文字 start: this.Date,//日期 className: ''//自定义样式 }); }); callback(events); }, 'json'); }
FullCalendar.js中文版jQuery日历插件
正在加载文件目录...
- 热度 312