[jQuery] Re: Event registered for a class does not work with all members of class

2008-12-29 Thread Kean
Yea, use clone(true) to copy the events. If you are using jQuery 1.3 beta you can try to use $(selector).live('event', function(){ }); live is like bind just that new nodes added to DOM will inherit the event. Well, this is a trick call event delegation. On Dec 29, 2:40 pm, Ricardo Tomasi

[jQuery] Re: Event registered for a class does not work with all members of class

2008-12-29 Thread Ricardo Tomasi
Didn't look at the source, but have you tried $(element).clone(true) ? That sets 'deep copying' and should copy all the event handlers with it. On Dec 29, 11:33 am, "nikla...@googlemail.com" wrote: > Hello, > > I don't know wether it is the right place for this question but I am > going to ask i