jquery fullcalendar send custom parameter and refresh calendar with JSON

前端 未结 11 1414
名媛妹妹
名媛妹妹 2020-12-23 12:14

im trying to use the jquery fullcalendar. The event data comes from the server using JSON. My page has a dropdown element and the fullcalendar div.

What i need is to

11条回答
  •  清酒与你
    2020-12-23 12:41

    I refresh this way after an ajax event adds an event using a modal for instance:

    $('#cal').fullCalendar('removeEvents');
    $('#cal').fullCalendar('addEventSource', "../calendar/json-events2.php")
    $('#cal').fullCalendar('rerenderEvents');
    

提交回复
热议问题