Hi,
Noticed this discrepency between versions 1.2.6 and 1.3:

$(selector).prepend(element.clone(true));
where the selector grabs >1 elements. In 1.2, every element gets the
cloned element with its events.
In 1.3, only the first element selected gets the events, all the
others just get a copy, as if it had been made with clone().

btw I've amended my code to
$(selector).each(function() { $(this).prepend(element.clone
(true)); });

so it's no Big Deal, but I think 1.2's behaviour was less surprising
than 1.3's. Had a dig around the jQuery source, but I get lost in
domManip (which is substancially changed for 1.3).

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

Reply via email to