Opened 10 years ago
Closed 10 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 10 years ago by
comment:2 Changed 10 years ago by
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 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Belongs in the api issue tracker.
Note: See
TracTickets for help on using
tickets.
Demo here: http://jsbin.com/ecahew/2/edit