Bug Tracker

Modify

Ticket #2505 (closed bug: worksforme)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

comment:1 Changed 5 years ago by evolving_jer

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

Changed 5 years ago by davidserduke

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.