I just created a ticket (http://dev.jquery.com/ticket/4174) with demo/
test-cases for both versions of jQuery...

---------------------------------------
The following code produces quite different results in jQuery 1.2.6
and 1.3.1 ...

    var protoElm = $('#proto b');
    protoElm
        .bind('click', function(e){
            alert("I'm a click event!");
          });
    $('p')
        .append( protoElm )
        .prepend( protoElm );

Results in jQuery 1.2.6:
All paragraphs have a <b> element appended and prepended
Clicking all <b>s triggers an alert!

Results in jQuery 1.3.1:
The prototype <b> disappears
Not all paragraphs have a <b> element appended and prepended.
Only clicking the first <b> triggers an alert!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to