settimeout()在IE8下参数无效问题解决方法

遇到这个问题,setTimeout(Scroll(),3000); 这种写法在IE8 下 不能够执行,提示参数无效,

setTimeout(function(){Scroll()},3000);这种方式就可以了。

posted @ 2017-05-17 09:46  bathue  阅读(2548)  评论(1编辑  收藏  举报