Skip to main content

Bug Tracker

Side navigation

#13462 closed bug (duplicate)

Opened February 17, 2013 03:49AM UTC

Closed February 17, 2013 02:50PM UTC

Problem with append in 1.9.1

Reported by: nhuon Owned by:
Priority: undecided Milestone: None
Component: manipulation Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

There seems to be a problem with chaining elements when I do the following:


C is not inserted after B like I would expect. This was working with 1.8.3, but not anymore in 1.9.1

Attachments (0)
Change History (1)

Changed February 17, 2013 02:50PM UTC by gibson042 comment:1

component: unfiledmanipulation
resolution: → duplicate
status: newclosed

Duplicate of #12982.Per the 1.9 upgrade guide, .before, .after, and .replaceWith no longer have any effect when executed against collections consisting only of disconnected nodes.

The old behavior of .after on disconnected nodes (altering the jQuery collection instead of the DOM) is still available with .add, but it looks like your intended results can be achieved without either: