Acrobat Javascript, How do you reset a timer?
My script is this:
this.getField("TextField").display = display.visible;
app.setTimeOut ('this.getField("TextField").display = display.hidden;', 9000 );
This works fine as it will show the text field and hide it after 9 seconds. But if a user spams the button it does not work so well.
Is there a way to reset the timer if someone spams the button?
