This topic is locked
[SOLVED]

input window freeze after 5 seconds

12/20/2022 3:36:43 AM
PHPRunner General questions
J
Jan author

I "freeze" an input window with this java code:

var ctrl = Runner.getControl(pageid, 'name');
ctrl.makeReadonly();

want to execute the above code after a time of 5 seconds. Which code should I add?

Sergey Kornilov admin 12/20/2022

Check this article for inspiration. You need to use setTimeout() fucntion.

J
Jan author 12/22/2022

thanks