How to force page refreshes or reloads in jQuery?

前端 未结 5 1236
误落风尘
误落风尘 2020-12-14 05:26

The code below displays a Google map and search results when you enter an address and hit the submit button. I\'ve been playing with it to try and force the page to complet

5条回答
  •  情话喂你
    2020-12-14 06:01

    You can refresh the events after adding new ones by applying the following code: -Release the Events -set Event Source -Re-render Events

      $('#calendar').fullCalendar('removeEvents');
                      $('#calendar').fullCalendar('addEventSource', YoureventSource);         
                      $('#calendar').fullCalendar('rerenderEvents' );
    

    That will solve the problem

提交回复
热议问题