#9664 closed bug (invalid)
jQuery minified package > 1.5.2 bug
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | build | Version: | 1.6b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Just found an issue with the minified package > 1.5.2 where trying to call a function of the jQuery or $ object caused the following error from this call.
$.post('[script]',function(d){ $('#[id]').show(); });
by changing '$('#[id]').show();' to any jQuery function the following error occurs.
i.exec is not a function (jquery-1.6.js line 16) (function(a,b){function cy(a){return f...h]&&f.event.trigger(c,d,b.handle.elem
From testing the error seems to have started with version 1.6 min.
1.5.2 min - OK, uncompressed - OK 1.6 min - Fail, uncompressed - OK 1.6.1 min - Fail, uncompressed - OK
Browser FF 3.6.18 OS Win7 64
Change History (8)
comment:1 Changed 11 years ago by
Component: | unfiled → build |
---|---|
Owner: | set to [email protected]… |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 11 years ago by
Hi,
This happens to me too. With jQuery 1.6.1 min and 1.6.2 min.
Firefox 3.6
Thanks
comment:3 Changed 11 years ago by
$('#[id]')
This type of id selector is not yet supported by jQuery.
Also, from the information I've been given from Mozilla, Firefox 3.6 is very close to End Of Life, so it doesn't make sense to write code that is tailored to a specific browser
comment:4 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
comment:5 follow-up: 6 Changed 11 years ago by
I've posted an answer in a similar ticket: http://bugs.jquery.com/ticket/9805#comment:3
You probably use a global variable named "i".
"Also, from the information I've been given from Mozilla, Firefox 3.6 is very close to End Of Life, so it doesn't make sense to write code that is tailored to a specific browser"
Almost 10% of the users still use Firefox http://gs.statcounter.com/#browser_version-ww-monthly-201108-201108-bar so it does make sense to write code that works with this browser.
comment:6 follow-up: 7 Changed 11 years ago by
You probably use a global variable named "i".
Right! But not global. In the "for" loop, I've been using "i" as name for iteration variable. Changing it to (for example) "iterator" - solves the problem.
comment:8 Changed 11 years ago by
maybe I have a global "i" or not - who cares? going to uncompressed version fixes the problem that started for me after upgrading to 1.6.2-min
each upgrade i do to jquery breaks SOMETHING for SOMEONE
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsfiddle.net that reproduces the issue experienced to help us assess your ticket.
Additionally, test against the jQuery (edge) version to ensure the issue still exists.