Skip to main content

Bug Tracker

Side navigation

#13367 closed bug (notabug)

Opened February 01, 2013 05:00AM UTC

Closed February 01, 2013 02:24PM UTC

Last modified August 28, 2013 12:33AM UTC

removeClass() does not remove all class in v1.9.0

Reported by: balaram@ymail.com Owned by: balaram@ymail.com
Priority: undecided Milestone: None
Component: attributes Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

$("#a1").removeClass() does not remove all class from

<a id="a1" href="#qno1" class="ans mark unmark">1</a>

individual class are removed using $("#a1").removeClass("ans")...

but jquery v1.8.3 is removed all classes.

The elements are loaded through ajax.

Attachments (0)
Change History (7)

Changed February 01, 2013 01:37PM UTC by gibson042 comment:1

owner: → balaram@ymail.com
status: newpending

Works for me: http://jsfiddle.net/jzE3m/

We'll only be able to assess this ticket further if you provide a reduced test case of your own.

Changed February 01, 2013 01:42PM UTC by scottgonzalez comment:2

I assume you're using jQuery UI. See http://bugs.jqueryui.com/ticket/9015.

I'll leave this open until we get confirmation.

Changed February 01, 2013 02:21PM UTC by balaram comment:3

_comment0: Yes, i am using jQuery UI. It is only happen only in jQuery UI. \ \ You are recommandate using .removeAttr('class') rather than .removeClass(). \ \ So how about .removeClass()???1359728590386403

Yes, i am using jQuery UI. It is only happen only using jQuery UI.

You are recommandate using .removeAttr('class') rather than .removeClass().

So what about .removeClass()???

Changed February 01, 2013 02:24PM UTC by gibson042 comment:4

component: unfiledattributes
resolution: → notabug
status: pendingclosed

Changed February 07, 2013 05:26PM UTC by scottgonzalez comment:5

#13411 is a duplicate of this ticket.

Changed March 07, 2013 03:18PM UTC by scottgonzalez comment:6

#13531 is a duplicate of this ticket.

Changed August 28, 2013 12:33AM UTC by scottgonzalez comment:7

#14311 is a duplicate of this ticket.