我正在使用 jQuery weekcalendar 创建一个带有约会的基于网络的日历。根据文档,刷新日历应该很容易:
$(“#calendar”).weekCalendar(“refresh”); // Refreshes the currently rendered week – if the events are based on a remote data source they will be refetched.
这是我的html:
<div id="calendar"></div>
当我尝试调用此代码时,日历不会刷新。我究竟做错了什么?
$('#calendar').weekCalendar('refresh');