Side navigation
#15107 closed bug (notabug)
Opened May 24, 2014 05:13AM UTC
Closed May 24, 2014 12:11PM UTC
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.
Attachments (0)
Change History (1)
Changed May 24, 2014 12:11PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes