Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
Description
Can't use the .html() method to insert an <object> html fragment.
Example. $('selector').html('<object>other relevant stuff</object>');
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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.