|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 11 > 01 > Telegram_2019-11-01T10 |
2019-11-01T10:43:07
You can't call JS directly, but you can send JS to be executed in the browser based on actions from Delphi. There are demos in our demo repostory that show running scripts.
2019-11-01T10:44:02
Thanks kudzu. Any in particular I should be looking at?
2019-11-01T10:45:03
Off hand I cant remember specifically which one.. if you cant locate which one I can ask Alexandre to respond as he maintains the demos.
2019-11-01T10:47:07
So, we have a bit of js (function MyFunc() {window.alert(\sometext\);}), and I can trigger it from a button using the OnClick scriptevent and that works fine. Is it possible to get a js function to trigger from a timer?
2019-11-01T10:54:31
Alternatively, is there any way to programtically click a button in intraweb (I miss type: link button.click )
2019-11-01T10:57:45
for JS on a timer you can just use a standard JS method to do that with setTimer or setTimeout