[jQuery] Re: Do object events persist in cloning? I can't get this method to work.

2009-04-27 Thread Scott Sauyet
Thomas Allen wrote: What I'm doing is creating a couple button objects and cloning them. $(memberSections).prepend(toggler.clone()); $(youngerSections).prepend(toggler.clone()); }); Why is it that neither button logs to the console when clicked? You might try passing true to the

[jQuery] Re: Do object events persist in cloning? I can't get this method to work.

2009-04-27 Thread Thomas Allen
Yep, that did it, thanks. I had never heard of this before. Thomas On Apr 27, 10:13 am, Scott Sauyet li...@sauyet.com wrote: Thomas Allen wrote: What I'm doing is creating a couple button objects and cloning them.     $(memberSections).prepend(toggler.clone());