Skip to main content

Bug Tracker

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 dmethvin comment:1