Side navigation
#1377 closed bug (fixed)
Opened July 09, 2007 05:59PM UTC
Closed August 20, 2007 07:28AM UTC
jquery 1.1.3.1 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: |
Description
Hi,
Jquery 1.1.3.1 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 1.1.3.1 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 1.1.3.1 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 .
Attachments (0)
Change History (2)
Changed July 29, 2007 07:11PM UTC by comment:1
component: | ajax → core |
---|
Changed August 20, 2007 07:28AM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
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: