Home > Internet Explorer > Internet Explorer Setinterval Not Working

Internet Explorer Setinterval Not Working

Contents

Golfing Flower of Life more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / New feature test: myArray = ["zero", "one", "two"]; myArray.myMethod = function (sProperty) { alert(arguments.length > 0 ? var intervalID = window.setInterval(myCallback, 500); function myCallback() { // Your code here } Example 2: Alternating two colors The following example calls the flashtext() function once a second until the Stop To do this, create an inner anonymous function to wrap the real callback function. this content

Not the answer you're looking for? I want to know the what part of speech is this, the word 'fit' in this sentence Why would this A-10 Thunderbolt be deployed over rural New Hampshire? Arduino IDE not recognizing that .c file is .cpp Why do most microwaves open from the right to the left? Why are auto leases stubbornly strict about visa status and how to work around that? http://stackoverflow.com/questions/3426510/problem-with-ie-and-setinterval-not-refreshing-updating

Javascript Setinterval

function startTimer() { var div = document.getElementById('currentTime'); setTimeout(function(){doClock(div)},200); } // The second example also uses a closure, by referring to an argument passed to the function. Thanks for the help. suprisingly when i run the same code on Google Chrome its working fine there. Curabitur convallis, justo posuere porta egestas, velit erat ornare tortor, non viverra justo diam eget arcu.

Any advise. Monday, September 05, 2011 3:26 PM All replies 0 Sign in to vote