Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript settimeout loop

function timeout() {
    setTimeout(function () {
        // Do Something Here
        // Then recall the parent function to
        // create a recursive loop.
        timeout();
    }, 1000);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #settimeout #loop
ADD COMMENT
Topic
Name
7+9 =