Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4174 closed bug (duplicate)

Regression in .append() .prepend() etc, between 1.2.6 and 1.3.1

Reported by: maranomynet Owned by:
Priority: critical Milestone: 1.3.2
Component: core Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:


the following code produces wildly different results in jQuery 1.2.6 and 1.3.1 ...

var protoElm = $('#proto b');

    .bind('click', function(e){
        alert("I'm a click event!");

    .append( protoElm )
    .prepend( protoElm );

See the attached demos/test-cases for more info.

Attachments (1)

append-prepend-regression.zip (64.8 KB) - added by maranomynet 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by maranomynet

comment:1 Changed 14 years ago by dmethvin

This seems like the same case as #4161, would you agree?

comment:2 Changed 14 years ago by john

Resolution: duplicate
Status: newclosed

Yeah, duplicate.

Note: See TracTickets for help on using tickets.