#14288 closed bug (notabug)
.after() does not work as expected?
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.0.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In jquery 1.4 and 1.8 this
$("<div></div>").after("<p></p>")
returns
[<div></div>, <p></p>]
in 1.9.1 and 2.0.3 the same returns
[<div></div>]
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
also applies to 'before'. If attached to dom everything works fine.
comment:3 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:4 Changed 9 years ago by
Ok, thanks,
then this page
section
Inserting Disconnected DOM nodes
needs to be changed as it is wrong. The sample does not work anymore.
Note: See
TracTickets for help on using
tickets.
same problem in 1.10.2 aswell