Opened 9 years ago
Closed 9 years ago
#15107 closed bug (notabug)
jquery after function bug
Reported by: | hovea | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.11.1 |
Keywords: | after | Cc: | |
Blocked by: | Blocking: |
Description
Run the following script: $("<TD>").text('test').after($("<TD>").text("test"));
Expected result:
[<td>test</td>, <td>test</td>]
Actual result: [<td>test</td>]
This occurs in 1.10.2 and 1.11.1.
With jquery 1.8.3, the result is correct.
Note: See
TracTickets for help on using
tickets.
http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes