Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5291 closed bug (invalid)

Error using $().attr() in IE 8.0.6

Reported by: umpirsky Owned by:
Priority: critical Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: IE8, attr Cc:
Blocked by: Blocking:


When using jQuery attr method with IE 8.0.6, I get folowing error:

"Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729) Timestamp: Fri, 25 Sep 2009 08:20:54 UTC

Message: Object doesn't support this property or method Line: 998 Char: 6 Code: 0 URI: http://test.cz.loopia.se/scripts/jquery/jquery-1.3.2.js"

The fix is elem[ name ] = value; -> elemname? = value; in line 998 in jQuery source.

Note that this is not the only place where elem[ name ] is used.

Attachments (1)

jquery-1.3.2.patched.js (117.9 KB) - added by umpirsky 13 years ago.
Suggested patch

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by umpirsky

Attachment: jquery-1.3.2.patched.js added

Suggested patch

comment:1 Changed 13 years ago by umpirsky

It's actually related with form action attribute.

comment:2 Changed 13 years ago by dmethvin

Please provide a test case so we can see the underlying cause. From your last comment it seems like the issue may be due to a name conflict with "action".

comment:3 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

Closed for lack of a test case; I think this is probably a form property name conflict.


Note: See TracTickets for help on using tickets.