Ticket #5904 (closed bug: fixed)
Injecting Flash with $.html fails in 1.4 in IE6
| Reported by: | AlexSexton | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.4.2 |
| Component: | manipulation | Version: | 1.4.1 |
| Keywords: | html, flash, ie6 | Cc: | |
| Blocking: | Blocked by: |
Description
Currently, when injecting a string of html that represents a flash element into a dom element via the $.html method in IE6, no change occurs. No errors are thrown, nor is there any odd behavior, the html just doesn't get added.
Not surprisingly, this function is just: DomElement.innerHTML = html;
This also fails in vanilla JS. I would normally be ok with jQuery not supporting this functionality, but it used to work in <= 1.3.2 - so there are plugins and code that are relying on flash injection via the html method.
Test page: http://alexsexton.com/jqueryhtmltest/
I'm currently looking into seeing what changed between the versions that could have caused this.
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.

Fixed. http://github.com/jquery/jquery/commit/1b28bba4d2ba692047813cf5185a7d55e2362472