Opened 16 years ago
Closed 16 years ago
#1377 closed bug (fixed)
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 .
Change History (2)
comment:1 Changed 16 years ago by
Component: | ajax → core |
---|
comment:2 Changed 16 years ago by
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: http://dev.jquery.com/~john/ticket/1377/