Skip to main content

Bug Tracker

Side navigation

#10109 closed bug (duplicate)

Opened August 22, 2011 04:47PM UTC

Closed October 05, 2011 06:43PM UTC

Last modified October 05, 2011 06:43PM UTC

IE7 removeAttr not functioning properly

Reported by: laurence.hoess@nrel.gov Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Version: jQuery 1.6.2 (1.6.1 worked fine; jQuery Edge shows the same problem)

Browser: IE7 (Testing with IE8 in IE7 Mode) Works in FF 5.0.1 and IE8.

OS: Windows XP

Test Steps:

1. Using the test case at http://jsfiddle.net/4erKM/14/

2. Open IE8, hit F12, select Browser Mode: IE7.

3. Select DACUM, a Duty, Task, and Step menus should appear with Task and Step menus disabled. Selecting a Duty should enable the Task menu, selecting a Task should enable the Step menu. However in IE7 those menus remain disabled.

This appears to be related to #9576.

Tried the .prop('disabled', false) workaround but that didn't resolve the problem.

Sample: http://jsfiddle.net/4erKM/14/

Attachments (0)
Change History (4)

Changed August 27, 2011 08:22PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

That is a lot of code, but basically do not do this in script:

$("#duty").attr("disabled","disabled");
$("#task").removeAttr("disabled");

Instead do this:

$("#duty").prop("disabled", true);
$("#task").prop("disabled", false);

Changed October 05, 2011 06:43PM UTC by rwaldron comment:2

resolution: invalid
status: closedreopened

Changed October 05, 2011 06:43PM UTC by rwaldron comment:3

resolution: → duplicate
status: reopenedclosed

Changed October 05, 2011 06:43PM UTC by rwaldron comment:4

Duplicate of #9927.