Bug Tracker

Modify

Ticket #6035 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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");

Change History

comment:1 Changed 4 years ago by pmoriarity

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

comment:2 Changed 4 years ago by john

  • Owner set to john
  • Status changed from new to assigned

Checking in to this.

comment:3 Changed 4 years ago by DCameronMauch

same as Ticket #5829 glad someone finally looking into this issue

comment:4 Changed 4 years ago by john

  • Status changed from assigned to closed
  • Resolution set to duplicate
  • Component changed from core to manipulation

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.