# SWFobject and ajax div?

**URL:** <https://forum.kirupa.com/t/swfobject-and-ajax-div/220687>\
**Category:** Uncategorized\
**Created:** [March 28, 2007, 10:06am UTC](https://forum.kirupa.com/t/swfobject-and-ajax-div/220687 "2007-03-28T10:06:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [March 28, 2007, 10:06am UTC](https://forum.kirupa.com/t/swfobject-and-ajax-div/220687/1 "2007-03-28T10:06:44Z")

</div>

Hi all,

I am using an ajax makerequest function, which updates a particular div (id=contentText). But the div does not display the flash inside, SWFObject does not seem to be executed when the page loads.

Now when I look at the generated browser source code, i can see the named div(id=contentText) which I use with ajax. But not the innerhtml with a div (id=flashContent).

flashContent is used by swfobject (so.write(“flashContent”))

Any ideas how to use swfobject and ajax?
