Skip to main content

Bug Tracker

Side navigation

#9576 closed bug (invalid)

Opened June 14, 2011 09:01AM UTC

Closed June 29, 2011 07:53AM UTC

Last modified March 14, 2012 03:50AM UTC

removeAttr("disabled") on IE7

Reported by: vincent.benci@cg10.fr Owned by: vincent.benci@cg10.fr
Priority: low Milestone: 1.next
Component: attributes Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

BUG only on IE7 (FF and IE8 and IE9 is OK)

Sample :

$("#id_rectif_mail :input").removeAttr("disabled");

id_rectif_mail is a DIV

If i select each input then removeAttr("disabled") is OK .

Thanks in advance

Attachments (0)
Change History (7)

Changed June 14, 2011 10:06AM UTC by anonymous comment:1

In fact, this is the TEXTAREA in the "ui dialog" that generate this bug , I think, and only on ie7 .

Changed June 14, 2011 01:47PM UTC by timmywil comment:2

component: unfiledattributes
owner: → vincent.benci@cg10.fr
priority: undecidedlow
status: newpending

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.

Changed June 29, 2011 07:53AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

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!

Changed August 01, 2011 12:04PM UTC by anonymous comment:4

Running IE8 in IE7 browser mode this error happens:

http://jsfiddle.net/yjsqc/

Changed August 01, 2011 12:05PM UTC by anonymous comment:5

Replying to [comment:4 anonymous]:

Running IE8 in IE7 browser mode this error happens: http://jsfiddle.net/yjsqc/

On jQuery 1.6.2, that is. It works fine on 1.6.1

Changed August 01, 2011 01:36PM UTC by timmywil comment:6

@anonymous: see #9719

As you can see, jQuery is doing everything it can. IE7 is not repainting: http://jsfiddle.net/timmywil/yjsqc/4/

Changed August 10, 2011 06:31PM UTC by anonymous comment:7

I have also found that under certain hard-to-reproduce conditions .removeAttr('disabled') does not do the right thing in IE7. One very simple way around this is to use .prop('disabled', false) instead.