IE中的setInterval [英] setInterval in IE
本文介绍了IE中的setInterval的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
展开 | 选择 | Wrap | 行号
解决方案
document.getElementById(''image '').innerHTML = newImage;
??这是不正确的?
谢谢!
嗨...
认为你必须使用:
展开 | 选择 | Wrap | 行号
Hey guys. I''m aiming to have various images and news rotate after a given amount of time. My js correctly displays the inital image and text but stops in IE and i never gets to 1. In FF, however, it runs through everything and loops continuously as intended. Looks like I have an issue with the setInterval. What do I need to add/omit for it to function properly in IE6+. Any help would be great!
Expand|Select|Wrap|Line Numbers解决方案document.getElementById(''image'').innerHTML = newImage;
?? is that incorrect?
thanks!
hi ...
think you have to use:
Expand|Select|Wrap|Line Numbers
这篇关于IE中的setInterval的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆