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
13 days 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
13 days ago.

By the way this is working.

Thanks

Answer posted by Dan Letecky [DayPilot]
13 days 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/

New Reply
This reply is
Your name (optional):