> trying to duplicate specific div that has id=someID and within
> that div#someID there is an event attached which is not being
> copied across.

When you clone the div, do you change the cloned ID before inserting so it
won't create a duplicate ID?

The W3C doesn't whether cloneNode is supposed to clone events or not.

http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247

Firefox doesn't even clone the checked state of buttons or the current text
of a text box, so it may not clone dynamically attached event handlers
either. Maybe it would if the handler was attached as an initial attribute?



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to