fullCalendar日历管理插件。
中文文档地址:http://blog.youkuaiyun.com/lgg201/archive/2009/11/17/4818941.aspx
针对通过URL加载日历事件,不能发送用户定义参数,做了些小修改
加上postParams(array对象)设置,添加用户自己的传送参数
var postParams=new Array();
postParams.push({name:'startId',value:startId});
$('#calendar').fullCalendar('option', 'postParams', postParams);
$('#calendar').fullCalendar('refetchEvents');
源码见附件
中文文档地址:http://blog.youkuaiyun.com/lgg201/archive/2009/11/17/4818941.aspx
针对通过URL加载日历事件,不能发送用户定义参数,做了些小修改
加上postParams(array对象)设置,添加用户自己的传送参数
var postParams=new Array();
postParams.push({name:'startId',value:startId});
$('#calendar').fullCalendar('option', 'postParams', postParams);
$('#calendar').fullCalendar('refetchEvents');
源码见附件
本文介绍如何使用fullCalendar日历管理插件,并针对URL加载事件时无法传递自定义参数的问题进行了改进。通过设置postParams参数,可以实现自定义数据的传递。

1659

被折叠的 条评论
为什么被折叠?



