Skip to main content

Bug Tracker

Side navigation

#6713 closed bug (invalid)

Opened June 23, 2010 03:43PM UTC

Closed June 25, 2010 01:30AM UTC

Last modified December 18, 2013 08:12AM UTC

jQuery v1.4.2 Internet Explorer Bug

Reported by: fowardslash Owned by:
Priority: undecided Milestone: 1.4.2
Component: unfiled Version: 1.4.2
Keywords: 1.4.2 Cc:
Blocked by: Blocking:
Description

On line 116 of the minified version, there is an error which breaks the process in internet explorer.

The current line is:

if(e)f[b]=d;return f[b];

Internet Explorer says:

Invalid argument line 116 character 165

The solution to this problem is:

if(e) return d;

apparently IE doesn't like that f[b] is undefined?

Attachments (0)
Change History (6)

Changed June 23, 2010 04:33PM UTC by fowardslash comment:1

While the solution I proposed does not create an error in internet explorer, it does affect the jquery ui. I'm using the ui dropdown, and the positioning has been effected by not returning f[b]. This line seems to be css related, and quite frankly, it's over my head. I'm going to address the issue via my own stylesheet, however this is a bug for internet explorer when using the jquery ui.

Changed June 25, 2010 01:30AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

Please reopen with a simple test case that demonstrates the problem. We need to know the *cause* before we look for a solution.

Changed February 21, 2011 04:54PM UTC by paramaeleon@freenet.de comment:3

In case that d is equal to "undefinedpx" IE has an error here.

I changed that expression into:

if(e&&d!="undefinedpx")f[b]=d;

Now every thing works fine.

Changed February 21, 2011 06:12PM UTC by jitter comment:4

priority: → undecided

Replying to [comment:3 paramaeleon@…]:

In case that d is equal to "undefinedpx" IE has an error here. I changed that expression into: if(e&&d!="undefinedpx")f[b]=d; Now every thing works fine.

You modified the minified version of jQuery??

Submit a reduced test case instead. How to report bugs

Changed June 14, 2012 02:26PM UTC by anonymous comment:5

Replying to [comment:3 paramaeleon@…]:

In case that d is equal to "undefinedpx" IE has an error here. I changed that expression into: if(e&&d!="undefinedpx")f[b]=d; Now every thing works fine.

After modifying also i am getting the same error.

Inplace of that i have used if(e) return d;

Then i am not getting any error. but the background styles, borders (css) not applied correctly. Please suggest what to do asap.

Changed December 18, 2013 08:12AM UTC by anonymous comment:6

Instead of 'undefinedpx' just use 'undefined' as the width you are passing might not have 'px' in if(e&&d!="undefinedpx")f[b]=d;