Bug Tracker

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:


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)

jquery_test.html (803 bytes) - added by davidserduke 15 years ago.
test case based on description

Download all attachments as: .zip

Change History (3)

comment:1 Changed 15 years ago by evolving_jer

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

Changed 15 years ago by davidserduke

Attachment: jquery_test.html added

test case based on description

comment:2 Changed 15 years ago by davidserduke

Resolution: worksforme
Status: newclosed

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.

Note: See TracTickets for help on using tickets.