[jquery-dev] clone() exception in IE6 & 7

Fri, 29 Aug 2008 14:31:25 -0700

There are a few tickets already opened related to this issue:
http://dev.jquery.com/ticket/2845
http://dev.jquery.com/ticket/3142
http://dev.jquery.com/ticket/3289

If you try to clone an element that contains an <object/>, you'll get
an exception:
Object doesn't support this property or method

Code example: http://dev.jquery.com/ticket/2845#comment:2 contains

Along the same lines, the following crashes IE7:

$("<object/>").clone(true);

But the following doesn't (nor does it cause the "Object ..." error):

$('<div/>').append('<object/>').clone(true);

Thoughts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to