Software Archive
Read-only legacy content

create Timer

zeroman_z_
Beginner
454 Views

how can i create Timer on variable x 

 

0 Kudos
2 Replies
Ad
New Contributor III
454 Views

Window setTimeout() Method

e.g.setTimeout(function(){ alert("Hello World"); }, 3000);

Definition and Usage
The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds.

Tip: 1000 ms = 1 second.
Tip: The function is only executed once. If you need to repeat execution, use the setInterval() method.
Tip: Use the clearTimeout() method to prevent the function from running.

source: http://www.w3schools.com/jsref/met_win_settimeout.asp

0 Kudos
zeroman_z_
Beginner
454 Views

thanks

but how can view variable on text to view counter PLZ >>>

0 Kudos
Reply