Does Internet Explorer remove the <object> element from DOM?
问题 I have markup in my page that includes the tag: <body> <object codebase="blah" codetype="text/blah"> <param name="name" value="value"/> <div>Some Markup</div> </object> </body> The idea is for browsers to display the content of the <div> by default, but if a special JS library is present, it will find all the elements and transform the ones it cares about (based on @codetype ). This works in Firefox and WebKit, but fails in IE, because that browser seems to strip off the outer <object>