Skip to main content

Bug Tracker

Side navigation

#6035 closed bug (duplicate)

Opened February 04, 2010 10:03PM UTC

Closed February 13, 2010 07:51AM UTC

IE 8 - Chaining remove and appendTo to move multiple child elements between two container elements no longer works in 1.4.x.

Reported by: pmoriarity Owned by: john
Priority: major Milestone: 1.4.2
Component: manipulation Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

Chaining remove and appendTo to move multiple child elements between two container elements no longer works in 1.4.x.

Works in Chrome and Firefox but not IE.

Test in IE 8 here:

http://jsfiddle.net/LMGPk/

Sample HTML:

    From:
    <div id="divFrom">
      <span>Item 1</span>
      <span>Item 2</span>
      <span>Item 3</span>
    </div>
    To:
    <div id="divTo">
    </div>

Sample JavaScript:

$("#divFrom span").remove().appendTo("#divTo");
Attachments (0)
Change History (4)

Changed February 04, 2010 10:23PM UTC by pmoriarity comment:1

Tried using detach() instead of remove(), same problem.

Changed February 05, 2010 04:20PM UTC by john comment:2

owner: → john
status: newassigned

Checking in to this.

Changed February 08, 2010 08:59PM UTC by DCameronMauch comment:3

same as Ticket #5829

glad someone finally looking into this issue

Changed February 13, 2010 07:51AM UTC by john comment:4

component: coremanipulation
resolution: → duplicate
status: assignedclosed

Thanks for spotting the duplicate, I'll tackle it over there.