Skip to main content

Bug Tracker

Side navigation

#5291 closed bug (invalid)

Opened September 25, 2009 08:26AM UTC

Closed October 14, 2009 01:48AM UTC

Last modified March 15, 2012 11:54AM UTC

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:
Description

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; -> elem['name'] = value; in line 998 in jQuery source.

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

Attachments (1)
Change History (3)

Changed September 25, 2009 11:06AM UTC by umpirsky comment:1

It's actually related with form action attribute.

Changed September 26, 2009 02:23PM UTC by dmethvin comment:2

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".

Changed October 14, 2009 01:48AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

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

http://yura.thinkweb2.com/domlint/