DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js do every x seconds
window
.
setInterval
(
function
(
)
{
// do stuff
}
,
1000
)
;
// 1000 milliseconds (1 second)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#seconds
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit