Right now, wrap calls "clone()" instead of "clone(true)". This has
the effect of causing any event handlers on the wrapping node to be
lost; for example,
$("#someElement").wrap($("<div>").click(function()
{ alert("hi"); }));
Is this a bug or a feature?
thanks!
chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---