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()); > > $(youngerSections).prepend(toggler.clone()); > > }); > > > Why is it that neither button logs to the console when clicked? > > You might try passing true to the clone method. [1] That copies event > handlers as well. I don't know if it will solve your problem, but it's > worth a try. > > Cheers, > > -- Scott > > [1]http://docs.jquery.com/Clone#clone.28.C2.A0bool_.29