简体   繁体   English

需要帮助在IE8中调试JavaScript

[英]Need help debugging JavaScript in IE8

Alright, I'm at a loss here 好吧, 我在这里茫然

I'm getting errors for any locally hosted js files that all point to the doctype as the location. 我收到所有本地指向的js文件的错误,这些文件都指向doctype作为位置。 It doesn't matter what local js file I include, they all raise an error. 我包括哪个本地js文件都没关系,它们都会引发错误。 No javascript works on the site in IE. IE中的网站上没有JavaScript。

Any and all help greatly appreciated! 任何帮助都将不胜感激! Happy to answer any questions to give you more info, I'm just not sure what you'd be looking for as js is not one of my greater skills... 很高兴回答任何问题以为您提供更多信息,但我不确定您要查找的内容是什么,因为js并不是我的更高技能之一...

I wouldn't think this page works on any browser: 我认为此页面无法在任何浏览器上运行:

http://sunnyslope.heroku.com/javascripts/jquery.fancybox.pack.js http://sunnyslope.heroku.com/javascripts/application.js http://sunnyslope.heroku.com/javascripts/jquery.fancybox.pack.js http://sunnyslope.heroku.com/javascripts/application.js

Those two files are served as HTML, so that obviously doesn't work. 这两个文件用作HTML,因此显然不起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM