<object/> clone() exception in IE6 & 7
<object/> clone() exception in IE6 & 7
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?
Topic Participants
emartin24
John Resig
thiagocruzsantos