Surely! http://dev.jquery.com/ticket/3344
On Sep 9, 2008, at 5:31 AM, John Resig wrote: > > Good point - it seems like clone(true) should probably be used. Could > you file a bug? > http://dev.jquery.com/ > > --John > > > > On Tue, Sep 9, 2008 at 1:51 AM, Chris Waterson <[EMAIL PROTECTED]> > wrote: >> >> 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 -~----------~----~----~----~------~----~------~--~---
