Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/88.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
Jquery Fullcalendar不';引导模式下的t渲染_Jquery_Html_Twitter Bootstrap_Fullcalendar - Fatal编程技术网

Jquery Fullcalendar不';引导模式下的t渲染

Jquery Fullcalendar不';引导模式下的t渲染,jquery,html,twitter-bootstrap,fullcalendar,Jquery,Html,Twitter Bootstrap,Fullcalendar,我试图使用bootstrap/jquery在模式对话框中显示fullcalendar。 当模式出现时,日历最初不会显示,除非选择“今天”按钮 我读到我应该使用: $("#calendar").fullCalendar('render'); 这似乎不起作用 我在这里重新创建了整个问题。我使用链接作为参考,因此如果在Chrome中运行此脚本,您可以看到问题 添加新约会。。。 接近 保存更改 $(“#日历”).fullCalendar({ }); $('#modal_form_addappt')

我试图使用bootstrap/jquery在模式对话框中显示fullcalendar。 当模式出现时,日历最初不会显示,除非选择“今天”按钮

我读到我应该使用:

$("#calendar").fullCalendar('render');
这似乎不起作用

我在这里重新创建了整个问题。我使用链接作为参考,因此如果在Chrome中运行此脚本,您可以看到问题


添加新约会。。。
接近
保存更改
$(“#日历”).fullCalendar({
});
$('#modal_form_addappt')。on('show.bs.modal',function(){
$(“#日历”).fullCalendar('render');
});

您使用了错误的方法。将
show.bs.modal
更改为
show.bs.modal


添加新约会。。。
接近
保存更改
$(“#日历”).fullCalendar({
});
$('#modal_form_addappt').on('show.bs.modal',function(){
$(“#日历”).fullCalendar('render');
});

你让我很开心。我真是太感谢你了!没问题:)一个
n
就可以解决所有问题,真有趣!谢谢你,老兄。花了将近4个小时弄清楚为什么日历主体没有在模态中呈现!!!