Ticket #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: | ||
| Blocking: | Blocked by: |
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
Change History
Changed 5 years ago by davidserduke
-
attachment
jquery_test.html
added
test case based on description
comment:2 Changed 5 years ago by davidserduke
- Status changed from new to closed
- Resolution set to worksforme
- Milestone changed from 1.2.3 to 1.2.4
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Where one can find HTML and JS sources to reproduce? Please do post them.