Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#9365 closed bug (invalid)

Jquery 1.6.1 min issue in IE7/IE8

Reported by: kebabapps@… Owned by:
Priority: low Milestone: 1.next
Component: core Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


The minified version of JQuery (such as the one located here: https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js ) causes an error in IE7 and IE8 compatability modes. IE9 is fine. Another machine, possibly with a different set of DLLs (e.g. jscript.dll) doesn't have the issue. Swapping jscript.dll doesn't fix it (so there are possibly other IE-related dlls that are also different).

Only the minified version is affected. Changing to use the non-minified version of 1.6 does not error.

A simple test page is:

<html> <head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>






</body> </html>

IE's developer tools say: Object doesn't support this property or method, line 16 character 18206. The debugger stops on a statement that says: ,b.insertBefore(l,b.firstChild),

at this point, variable b is a function that says: function b(){j.noCloneEvent=!1,a.detachEvent("onclick",b)}

Change History (4)

comment:1 Changed 6 years ago by timmywil

Component: unfiledcore
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Thanks for taking the time to contribute to the jQuery project!

This is working fine. You probably need a document ready. http://jsfiddle.net/timmywil/h3vvb/1/

comment:2 Changed 6 years ago by anonymous

No, it was a problem with the actual 1.6.1 minified js BEFORE any jquery commands were executed on the page.

I noticed I was still running IE9 beta. Upgrading to the full version has fixed the problem, so anyone else that ever runs into a similar issue should just update their IE9.

comment:3 Changed 6 years ago by anonymous

I got the same problem here!

comment:4 Changed 6 years ago by anonymous

I got the same problem on development. not-minified works fine.

Note: See TracTickets for help on using tickets.