sssweb - 2:28 pm on Dec 5, 2011 (gmt 0)
I thought this would be simple, but I can't find it anywhere on the web; I have a function that uses setInterval to run periodically on the page. I want to delay the start of that function using setTimeout.
The current code is:
var Timer = window.setInterval( "function()", 100 );
I've tried the following, but neither work:
var Timer = window.setTimeout("setInterval( 'function()', 100 )", 1000);
var Timer = setTimeout("window.setInterval( 'function()', 100 )", 1000);