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
11 months 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
11 months ago.

By the way this is working.

Thanks

Answer posted by Dan Letecky [DayPilot]
11 months 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 6 months old and has been closed. Please create a new question if you have anything to add.