Bug Tracker

Opened 11 years ago

Closed 9 years ago

#4442 closed bug (worksforme)

Cannot insert <object>...</object> in ie with the html() method.

Reported by: saji Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: ie, <object>, object tag, html, insert Cc:
Blocked by: Blocking:

Description

Can't use the .html() method to insert an <object> html fragment.

Example. $('selector').html('<object>other relevant stuff</object>');

Change History (1)

comment:1 Changed 9 years ago by addyosmani

Resolution: worksforme
Status: newclosed

I replicated the original code here: http://jsfiddle.net/addyosmani/Q8juM/ and tested in IE6, IE7 and IE8. All browsers were able to render the text and object wraparound tags correctly without any issues using both jQuery 1.3.2 and 1.4.2

Closing as this works for me.

Note: See TracTickets for help on using tickets.