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

JavaScript not working on Internet Explorer 10 - Stack Overflow

programmeradmin2浏览0评论

I'm on Windows 7, and just upgraded IE to 10. It works fine, except that Javascript isn't working. I know that it is enabled, as I can go into the settings and disable it, and then I get the "no js" output. But with it enabled, I get nothing. No errors in the JS console. The same script in Firefox gives me "hello".

Browser Mode is "10" and Document Mode is "Standards", though changing these doesn't yield anything different. Here is the entire page:

<!DOCTYPE HTML>
<html>
  <body>
<script type="text/javascript">
document.write('hello');
</script>
<noscript>no js</noscript>
  </body>
</html>

Similar results on other websites -- if I go to a page that uses Disqus ments, I just get a blank space. If JS were disabled, Disqus would return a message saying so.

Thanks.

I'm on Windows 7, and just upgraded IE to 10. It works fine, except that Javascript isn't working. I know that it is enabled, as I can go into the settings and disable it, and then I get the "no js" output. But with it enabled, I get nothing. No errors in the JS console. The same script in Firefox gives me "hello".

Browser Mode is "10" and Document Mode is "Standards", though changing these doesn't yield anything different. Here is the entire page:

<!DOCTYPE HTML>
<html>
  <body>
<script type="text/javascript">
document.write('hello');
</script>
<noscript>no js</noscript>
  </body>
</html>

Similar results on other websites -- if I go to a page that uses Disqus ments, I just get a blank space. If JS were disabled, Disqus would return a message saying so.

Thanks.

Share Improve this question edited May 29, 2013 at 2:57 Mathijs Flietstra 13k3 gold badges41 silver badges71 bronze badges asked May 29, 2013 at 2:52 ray.gurganusray.gurganus 1191 gold badge2 silver badges10 bronze badges 9
  • 1 Try regsvr32 jscript.dll and regsvr32 jscript9.dll – SLaks Commented May 29, 2013 at 2:56
  • Worked for me on Windows8. Anyone else with Windows7 have the same problem? Here you can check: jsfiddle/jFrPN – WooCaSh Commented May 29, 2013 at 2:58
  • 2 @blackbee say it to client... – WooCaSh Commented May 29, 2013 at 2:59
  • i tried downloading ie10 on windows 7, by mistake, and they said, ie 10 doesnot work on this version of windows 7, after i finished the downloading.. – argentum47 Commented May 29, 2013 at 3:01
  • @WooCaSh works for me on Windows 7 IE10 – gideon Commented May 29, 2013 at 3:04
 |  Show 4 more ments

2 Answers 2

Reset to default 8

I solve this problem. F12 -> Disable -> Script (uncheck)

I don't know if this will fix your problem but your markup is invalid, run it through the W3C Validator to fix the problems then try again.

发布评论

评论列表(0)

  1. 暂无评论