Skip to main content

Bug Tracker

Side navigation

#2505 closed bug (worksforme)

Opened March 13, 2008 10:51PM UTC

Closed March 27, 2008 06:13AM UTC

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)
  • jquery_test.html (0.8 KB) - added by davidserduke March 27, 2008 06:12AM UTC.

    test case based on description

Change History (2)

Changed March 14, 2008 08:25AM UTC by evolving_jer comment:1

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

Changed March 27, 2008 06:13AM UTC by davidserduke comment:2

milestone: 1.2.31.2.4
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.