Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6490 closed bug (invalid)

append vs. appendTo

Reported by: fabio.scala Owned by:
Priority: Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: append appendTo IE FF Cc:
Blocked by: Blocking:

Description

Trying to append a DOM element created on the fly $(..) to multiple other DOM elements. I don't really care about it, as I can just use 'Case 2'. I also didn't create a separate Test Case.. I just noticed this while developing and thought I might report it..

Case 1:
$('.multiple-el').append($someOtherEl)

Case 2:
$someOtherEl.appendTo('.multiple-el')

IE 7:
Case 1: DOESN'T WORK
Case 2: WORKS

FF 3.6.3:
Case 1: WORKS
Case 2: WORKS

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please reopen and attach a complete test case.

Note: See TracTickets for help on using tickets.