I am facing a strange issue while using javascript setTimeout function in IE8. I want to use the \'setTimeout\' function like this -
setTimeout(timeout,2000
Probably not supported there, so have this instead:
window.setTimeout(function() { timeout({name:'saarthak'}); },2000);
Meaning call your function from within anonymous function.