Can't load flash code into page with jquery ajax
Posted
by Philip
on Stack Overflow
See other posts from Stack Overflow
or by Philip
Published on 2010-03-09T10:33:59Z
Indexed on
2010/03/09
10:36 UTC
Read the original article
Hit count: 334
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.
© Stack Overflow or respective owner