Bug Tracker

Opened 8 years ago

Closed 8 years ago

#10482 closed bug (worksforme)

removeAttr method doesn't work in IE 8 quirks mode

Reported by: jmcguire@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

Description

This seems to only affect quirks mode, so to reproduce:

  1. In IE 8, open the developer toolbar and change the document mode to Quirks.
  2. use the removeAttr() method on an element.
  3. Inspect element; Did it work?

My result was that removeAttr did not work in IE but worked in other browsers (Chrome, Firefox, Safari on both Windows and Mac OS)

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Resolution: worksforme
Status: newclosed

I used this test case in quirks mode and it worked:

http://jsfiddle.net/UJXtw/

If you are attempting to remove DOM0 attributes such as class, *don't*. Set their corresponding properties to an appropriate value such as an empty string.

Note: See TracTickets for help on using tickets.