jQuery: Ticket #9664: jQuery minified package > 1.5.2 bughttps://bugs.jquery.com/ticket/9664
<p>
Just found an issue with the minified package &gt; 1.5.2 where trying to call a function of the jQuery or $ object caused the following error from this call.
</p>
<p>
$.post('[script]',function(d){ $('#[id]').show(); });
</p>
<p>
by changing '$('#[id]').show();' to any jQuery function the following error occurs.
</p>
<p>
i.exec is not a function (jquery-1.6.js line 16)
(function(a,b){function cy(a){return f...h]&amp;&amp;f.event.trigger(c,d,b.handle.elem
</p>
<p>
From testing the error seems to have started with version 1.6 min.
</p>
<p>
1.5.2 min - OK, uncompressed - OK
1.6 min - Fail, uncompressed - OK
1.6.1 min - Fail, uncompressed - OK
</p>
<p>
Browser FF 3.6.18
OS Win7 64
</p>
en-usjQuery//jquery.com/images/logo.gifhttps://bugs.jquery.com/ticket/9664
Trac 1.2.5timmywilFri, 24 Jun 2011 15:13:36 GMTpriority, status, component changed; owner sethttps://bugs.jquery.com/ticket/9664#comment:1
https://bugs.jquery.com/ticket/9664#comment:1
<ul>
<li><strong>owner</strong>
set to <em>chris@…</em>
</li>
<li><strong>priority</strong>
changed from <em>undecided</em> to <em>low</em>
</li>
<li><strong>status</strong>
changed from <em>new</em> to <em>pending</em>
</li>
<li><strong>component</strong>
changed from <em>unfiled</em> to <em>build</em>
</li>
</ul>
<p>
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on <a class="ext-link" href="http://jsfiddle.net"><span class="icon">​</span>http://jsfiddle.net</a> that reproduces the issue experienced to help us assess your ticket.
</p>
<p>
Additionally, test against the jQuery (edge) version to ensure the issue still exists.
</p>
Ticketlabraceta@…Fri, 01 Jul 2011 14:22:22 GMThttps://bugs.jquery.com/ticket/9664#comment:2
https://bugs.jquery.com/ticket/9664#comment:2
<p>
Hi,
</p>
<p>
This happens to me too. With jQuery 1.6.1 min and 1.6.2 min.
</p>
<p>
Firefox 3.6
</p>
<p>
Thanks
</p>
TicketRick WaldronFri, 01 Jul 2011 14:37:47 GMThttps://bugs.jquery.com/ticket/9664#comment:3
https://bugs.jquery.com/ticket/9664#comment:3
<pre class="wiki">$('#[id]')
</pre><p>
This type of id selector is not yet supported by jQuery.
</p>
<p>
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
</p>
Tickettrac-o-botSat, 16 Jul 2011 08:00:34 GMTstatus changed; resolution sethttps://bugs.jquery.com/ticket/9664#comment:4
https://bugs.jquery.com/ticket/9664#comment:4
<ul>
<li><strong>status</strong>
changed from <em>pending</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>invalid</em>
</li>
</ul>
<p>
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!
</p>
TicketanonymousThu, 11 Aug 2011 16:44:56 GMThttps://bugs.jquery.com/ticket/9664#comment:5
https://bugs.jquery.com/ticket/9664#comment:5
<p>
I've posted an answer in a similar ticket: <a class="ext-link" href="http://bugs.jquery.com/ticket/9805#comment:3"><span class="icon">​</span>http://bugs.jquery.com/ticket/9805#comment:3</a>
</p>
<p>
You probably use a global variable named "i".
</p>
<p>
<em>"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"</em>
</p>
<p>
Almost 10% of the users still use Firefox <a class="ext-link" href="http://gs.statcounter.com/#browser_version-ww-monthly-201108-201108-bar"><span class="icon">​</span>http://gs.statcounter.com/#browser_version-ww-monthly-201108-201108-bar</a> so it <strong><em>does</em></strong> make sense to write code that works with this browser.
</p>
TicketVadimFri, 19 Aug 2011 15:24:43 GMThttps://bugs.jquery.com/ticket/9664#comment:6
https://bugs.jquery.com/ticket/9664#comment:6
<blockquote class="citation">
<p>
You probably use a global variable named "i".
</p>
</blockquote>
<p>
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.
</p>
TicketanonymousFri, 19 Aug 2011 15:26:27 GMThttps://bugs.jquery.com/ticket/9664#comment:7
https://bugs.jquery.com/ticket/9664#comment:7
<p>
My mistake, yep it was global :(
</p>
Ticketwilliam_notsolikingjqueryFri, 19 Aug 2011 19:40:23 GMThttps://bugs.jquery.com/ticket/9664#comment:8
https://bugs.jquery.com/ticket/9664#comment:8
<p>
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
</p>
<p>
each upgrade i do to jquery breaks SOMETHING for SOMEONE
</p>
Ticket