【发布时间】:2012-12-28 13:58:47
【问题描述】:
我有一个有效的 JSON-Feed(使用 JSONLint 验证),它可以在 Chrome 中正常工作。但是 IE/FF 中没有显示任何事件。我尝试使用不同的时间格式以及类似问题中已经回答的所有其他内容。
JSON 提要:
[{"id":"64","title":"","start":"1356517800","end":"1356521400","allDay":false}]
日历:
$('.roomscal').fullCalendar({
events: 'http://..../events.php'
});
有人可以帮帮我吗?
【问题讨论】:
-
有什么错误吗? Firebug 怎么说?
-
在 Chrome 中 Firebug 显示正确的响应。当我在 FF 中尝试时,相同的请求在 Firebug 中为空。
-
Antwort-Header Date Fri, 28 Dec 2012 14:15:25 GMT 服务器 Apache X-Powered-By PHP/5.3.18-nmm1 Cache-Control no-cache, must-revalidate Expires Mon, 1997 年 7 月 26 日 05:00:00 GMT 变化接受编码内容编码 gzip 内容长度 94 Keep-Alive timeout=1, max=100 Connection Keep-Alive Content-Type application/json
-
我在我的完整日历上尝试了这个,它在 Chrome 和 Firefox 中都运行良好(只是将我的 JSON 提要的输出硬编码到上面的输出中)。对我来说,在 12 月 26 日下午 6:30 显示为一个活动。
标签: json fullcalendar