Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
FullCalendar未从JSON提要在IE/FF中显示事件_Json_Fullcalendar - Fatal编程技术网

FullCalendar未从JSON提要在IE/FF中显示事件

FullCalendar未从JSON提要在IE/FF中显示事件,json,fullcalendar,Json,Fullcalendar,我有一个通过JSONLint验证的有效JSON提要,它在Chrome上运行良好。但IE/FF中没有显示任何事件。我试着使用不同的时间格式以及其他类似问题中已经回答过的问题 JSON提要: [{"id":"64","title":"","start":"1356517800","end":"1356521400","allDay":false}] 日历: $('.roomscal').fullCalendar({ events: 'http://..../events.php'

我有一个通过JSONLint验证的有效JSON提要,它在Chrome上运行良好。但IE/FF中没有显示任何事件。我试着使用不同的时间格式以及其他类似问题中已经回答过的问题

JSON提要:

[{"id":"64","title":"","start":"1356517800","end":"1356521400","allDay":false}]
日历:

    $('.roomscal').fullCalendar({
events: 'http://..../events.php'
            });

有人能帮我吗?

你检查缓存了吗

$.ajaxSetup ({ 
  // Disable caching of AJAX responses 
  cache: false; 
});
告诉jQuery不要缓存


代码在这里找到

有错误吗?Firebug怎么说?在Chrome中Firebug显示了正确的响应。当我在FF.Antwort-Header Date Fri,2012年12月28日14:15:25 GMT服务器Apache X-Powered-By-PHP/5.3.18-nmm1 Cache Control no Cache,must revalidate Expires Mon,26 Jul 1997 05:00:00 GMT Vary Accept Encoding Content Encoding gzip Content Length 94 Keep Alive timeout=1中尝试时,Firebug中的相同请求为空,max=100 Connection Keep-Alive Content-Type application/jsonI在我的fullcalendar上尝试了这个方法,它工作得很好,只需在Chrome和Firefox中将我的JSON提要的输出硬编码到上面的输出中。在12月26日下午6:30出现在我的活动中。