简体   繁体   中英

jquery error in IE6

my jquery code not run with IE6 but runs all others including IE7. It errors

"JQuery is undefined" .

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.

It works fine for me in IE6. Something to do with your security settings maybe? Also try emptying your cache.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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