> A clone is an exact copy of the object which is being cloned.
> We all agree on that, but we all don't clone the assigned events...
>
> Why don't do it? Why do it?
>
> Your thoughts and possible implementation on this problem...
I kind of agree, but:
I experienced in my latest project that when cloning an element after
some events were attached it totally broke IE (crashed). Knowing that
events aren't cloned anyway I assumed that it doesn't matter when to
clone the node.
That bug may be due to the context were it occured, but one never knows...
So I ended up in creating the node, cloning it and than attached the events.
I couldn't find out what is happening in IE, but it seems it does
something with events when cloning. Does anyone know more about this?
-- Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/