Atozed Forums
Running javascript on a timer - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Running javascript on a timer (/thread-2232.html)



Running javascript on a timer - Сергей Александрович - 01-10-2021

The program monitors the update of information on a timer. If there is an update, you need to run javascript. But how?


RE: Running javascript on a timer - kudzu - 01-10-2021

There is a demo in our demos that shows how to do this.


RE: Running javascript on a timer - Alexandre Machado - 01-12-2021

What kind of information do you need to keep updated?

There are different approaches to solve this. One of them (the simplest) uses a TIWTimer. There is also another component TIWMonitor which can do more or less the same, however with better performance.


RE: Running javascript on a timer - Сергей Александрович - 01-12-2021

The demo uses a javascript timer, and I'm going to use TIWTimer or TIWMonitor. 
I understand that need to look in the direction of the js Callback Name property ?