Opened 15 years ago
Closed 15 years ago
#2505 closed bug (worksforme)
problem with 1.2.3 with chain
Reported by: | dmlees | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.4 |
Component: | core | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was using the chain $('th').parent().addClass('table-headng'); from Learning JQuery chapter 2. I upped jQuery to version 1.2.3.packed.js from the one that came with the book and it didn't work; the class didn't take. When I replaced the chain with $('th').parent().remove(); it did work.
Attachments (1)
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | 1.2.3 → 1.2.4 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
I created a test case based on the description and it worked fine. The one thing I noticed is the class you added was 'table-headng' with a missing 'i' it seems. Perhaps it was a typo that caused your problem. In any case see if this test case works for you and reopen the bug with more detail if you still find the problem.
Where one can find HTML and JS sources to reproduce? Please do post them.