Skip to main content

Bug Tracker

Side navigation

#10211 closed bug (worksforme)

Opened September 07, 2011 05:15AM UTC

Closed September 07, 2011 01:35PM UTC

removeAttr('id') will clear class in IE7

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

In IE7, calling removeAttr('id') will clear the "class" attribute of the element automatically.

Test case: http://jsfiddle.net/B293e/1/

only IE7 has this problem. IE6,8,9 will not clear the "class" attribute.

Attachments (0)
Change History (1)

Changed September 07, 2011 01:35PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → worksforme
status: newclosed

I'm unable to reproduce. I think your html was invalid. http://jsfiddle.net/timmywil/B293e/2/