Can't load flash code into page with jquery ajax
- by Philip
I am trying to load some flash banner code (from database) into a webpage using jquery ajax.
It is all working when adding the flash code in code-behind but when I am trying to load it with ajax some flash banners make the complete website disappear and only shows the banner.
I am using jQuery Ajax and the response is in html like:
<div id="ads">
<object ... Flash code ... </object>
</div>
I am using .html() to add it to the page.