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 comment:1
owner: | → balaram@ymail.com |
---|---|
status: | new → pending |
Changed February 01, 2013 01:42PM UTC by 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 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 comment:4
component: | unfiled → attributes |
---|---|
resolution: | → notabug |
status: | pending → closed |
jQuery UI http://bugs.jqueryui.com/ticket/9015
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.