0
我的网站使用引导3我试图做出事件的模式为点击在fullcalendar的开放,但该事件的标题和内容没有改变,请帮我谢谢fullcalendar模式引导
eventClick: function(event, calEvent, jsEvent, view, element) {
$('#view_event').modal({
title: event.title,
content: event.content
});
}
<div class="modal fade" id="view_event">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="event_title">Modal title</h4>
</div>
<div class="modal-body">
view
</div>
<div class="modal-footer">
<a href="#" class="btn btn-danger" data-option="remove">remove</a>
<a href="#" class="btn btn-primary" data-option="edit">edit</a>
</div>
</div>
</div>
</div>