7
我正在尝试在我的asp.net mvc应用程序中集成jquery完整日历(http://arshaw.com/fullcalendar/)。在jquery中完整日历的示例
我需要使用这个完整的日历来添加/编辑/删除/显示事件使用SQL Server数据库作为后端。
是否有人有示例代码来实现此完整日历的添加/编辑/删除事件。
我正在尝试在我的asp.net mvc应用程序中集成jquery完整日历(http://arshaw.com/fullcalendar/)。在jquery中完整日历的示例
我需要使用这个完整的日历来添加/编辑/删除/显示事件使用SQL Server数据库作为后端。
是否有人有示例代码来实现此完整日历的添加/编辑/删除事件。
function createCalendar() {
var d = new Date();
var y = d.getFullYear();
var m = d.getMonth();
$('#calendar').fullCalendar({
editable : false,
events : 'urltoevents'
aspectRatio : 1.5,
header : {
left : false,
center : 'title',
right : 'prev,next today'
},
eventClick : function(event) {
handle the click event.
}
});
};
function removeEvent(id){
$('#calendar').fullCalendar('removeEvents', id);
}
function updateEvent(id, title){
var event = $('#calendar').fullCalendar('clientEvents', id);
event.title = title;
$('#calendar').fullCalendar('updateEvent', event);
}
不错。我如何将活动添加到日历?如果您通过添加/编辑/删除事件向我提供此日历的工作副本,那将会非常好。 – Prasad 2009-10-08 14:39:14
你有没有Parsad这种工作副本。请转发我... – 2010-12-09 07:26:46