Skip to main content

Bug Tracker

Side navigation

#14183 closed bug (duplicate)

Opened July 25, 2013 12:27PM UTC

Closed July 25, 2013 02:20PM UTC

XML, removeClass and IE11

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

First, the jsFiddle:

After parsing a string as an XML document and wrapping it with jQuery, the


method doesn't works properly.

This is because the parsed element (a label in this example) does not have any


attribute, but the


method works fine.

In IE11.

Attachments (0)
Change History (1)

Changed July 25, 2013 02:20PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13056.The dup ticket is closed patchwelcome but that patch would be subject to some pretty harsh scrutiny given the potential for regressions. I've created a docs ticket:

Use .attr("class", newValue) if you simply need to change the entire class attribute string.