Side navigation
#10482 closed bug (worksforme)
Opened October 12, 2011 01:33PM UTC
Closed October 12, 2011 02:01PM UTC
removeAttr method doesn't work in IE 8 quirks mode
Reported by: | jmcguire@digarc.com | 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)
Attachments (0)
Change History (1)
Changed October 12, 2011 02:01PM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
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.