[jquery-dev] Re: clone(true) doesn't copy event handlers on child elements

2008-09-07 Thread Alex Howell
Just done some double checking, and my problem's root cause was actually using an older version of jQ (1.1.3) which did indeed have this bug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery Development" group.

[jquery-dev] Re: clone(true) doesn't copy event handlers on child elements

2008-09-07 Thread Alex Howell
*Smashes head upon table in realization of one's own stupidity, and sticks "stupid" badge to forehead* I think I must have got confused between two versions of the same thing via a misplaced symlink. Sorry for wasting your time, and thanks for the pointers. --~--~-~--~~~

[jquery-dev] Re: clone(true) doesn't copy event handlers on child elements

2008-09-06 Thread Alex Howell
> I assume you didn't mean to do $('inside') and meant to do $("#inside"). Yes, I did use the right method in my test code (mistake here a legacy from mootools habits) > Could you make a working test case? This has worked for us, in all our > tests, so I'm not sure what the exact issue is here.

[jquery-dev] clone(true) doesn't copy event handlers on child elements

2008-09-03 Thread Alex Howell
I expected clone(true) to be deep (ala MooTools); that is, clone all the child elements exactly, down to events and all. It appears this isn't the case: Example: $('inside').bind('focus', function() { alert('You focussed me!') }) //Result: if you focus on the input, you get an alert $('