Closed nagaokashi closed 7 years ago
Hey, I recommend you implement something like a client timer that checks for new calender entries all 5 seconds - otherwise if you really wanna "push" a calender entry you need to use a websocket connection that allows you to add the event upon a server message!
Could you teach me how to implement a setting that create an ajaxEvent to update data without refresh browser ?
I just do as below:
<script>
setInterval(function(){ $('#w0').fullCalendar('refetchEvents'); }, 5000);
</script>
For example: A user is opening a calendar. B user is also opening sane calendar as A user. When A has just created an event, I want to calendar of B user auto update event which A created without do anything. How to do it?
My view: