[英]jquery error in IE6
my jquery code not run with IE6 but runs all others including IE7. 我的jquery代码无法与IE6一起运行,但可以运行包括IE7在内的所有其他代码。 It errors
错误
"JQuery is undefined" . “ JQuery未定义” 。
Try changing: 尝试更改:
<script src="http://code.jquery.com/jquery-latest.js"></script>
In to: 到:
<script type="text/javascript" charset="utf-8" src="http://code.jquery.com/jquery-latest.js"></script>
You should also check the charset. 您还应该检查字符集。
Make sure you call your scripts in the correct order. 确保以正确的顺序调用脚本。
jQuery
won't be defined until it's included... by the looks of things, the browser recovers but raises it as an error. 直到包含
jQuery
才会被定义...从外观上看,浏览器会恢复,但会引发错误。
It works fine for me in IE6. 在IE6中对我来说效果很好。 Something to do with your security settings maybe?
可能与您的安全设置有关? Also try emptying your cache.
另外,尝试清空缓存。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.