Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1377 closed bug (fixed)

jquery is slow in adding class

Reported by: jqueryvj Owned by:
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:



Jquery is too slow in addClass and removeClass. It was good in previous version. In my scenario I've a table of 500 rows to which css classes are to be added like. $(#tableNAme tr).filter("some rows on selector").addClass("Shown").removeClass("unShown").

This is taking lot of time with which was not the case with previous jquery library jquery 1.1.2 .

I was not able to figure out whats the problem. I thought jquery would be backward compatible, but it was not because most of my framework which was working fine with previous version was broken. I'm hoping that the jquery 1.1.4 will solve problems which I'm facing with current version .

Change History (2)

comment:1 Changed 16 years ago by john

Component: ajaxcore

comment:2 Changed 16 years ago by john

Resolution: fixed
Status: newclosed

Not sure if this was an issue before, but I made some recent changes and the code seems to be about the same speed as the code in jQuery 1.1.2, demo: http://dev.jquery.com/~john/ticket/1377/

Note: See TracTickets for help on using tickets.