最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

internet explorer 8 - IE8 Javascript doesnt run unless Developer Tools is open? - Stack Overflow

programmeradmin0浏览0评论

For some reason, in IE8, javascript is not running unless I reload the page with Developer Tools open. I close developer tools and reload the page and the javascript stops working. I'm not getting any error reports (not that they'd be any use anyway).

Anyone else had this problem?

For some reason, in IE8, javascript is not running unless I reload the page with Developer Tools open. I close developer tools and reload the page and the javascript stops working. I'm not getting any error reports (not that they'd be any use anyway).

Anyone else had this problem?

Share Improve this question asked Nov 9, 2009 at 15:29 JoelJoel 2,2154 gold badges31 silver badges57 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 20

Often that's because you left a console.log call in your script. This only works when a debugger is present. You should get a JS error on trying to use it unless you have them turned off.

Close Developer Tools, close IE8, re-open, refresh with clear-cache: CTRL-F5 This should do the trick if you don't have any special JavaScript communicating with Developer Tools.

发布评论

评论列表(0)

  1. 暂无评论