Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13338 closed bug (notabug)

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.)

Change History (3)

comment:1 Changed 6 years ago by anonymous

comment:2 Changed 6 years ago by anonymous

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

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

comment:3 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed

Belongs in the api issue tracker.

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

Note: See TracTickets for help on using tickets.