search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

loadEvents(); wanted to call every 10 sec

Asked by Sapan Kumar
7 years ago.

$(document).ready(function () {
setInterval(function(){
loadEvents();

}, 3000);

});

this is not working? why its so..

Because wanted pull all bookings in every 10sec need to display them

Comment posted by Sapan Kumar
7 years ago.

By the way this is working.

Thanks

Answer posted by Dan Letecky [DayPilot]
7 years ago.

Thanks for the update.

There is also a built-in AutoRefresh feature that is a bit smarter (it doesn't fire if a drag and drop operation is in progress):
https://doc.daypilot.org/scheduler/autorefresh/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.