Skip to main content

Bug Tracker

Side navigation

#13338 closed bug (notabug)

Opened January 28, 2013 06:01PM UTC

Closed January 28, 2013 07:04PM UTC

Update Documentation for after(), replacewith(), and before().

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

In JQ1.9 Disconnected nodes work differently in after(), before(), and replacewith() methods, the change is docuemented here:

http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes

The examples on "Inserting Disconnected DOM nodes" the respective documentation sites don't work anymore, please remove them or update the examples to work in all versions of JQ. (http://api.jquery.com/after/, etc.)

Attachments (0)
Change History (3)

Changed January 28, 2013 06:07PM UTC by anonymous comment:1

Changed January 28, 2013 06:28PM UTC by anonymous comment:2

Update #2: add() still works as expected. I'll use that as my workaround for now.

Demo here:

http://jsbin.com/ecahew/4/edit

Changed January 28, 2013 07:04PM UTC by dmethvin comment:3

resolution: → notabug
status: newclosed

Belongs in the api issue tracker.

https://github.com/jquery/api.jquery.com/issues/240