# Document.write issue in IE

**URL:** <https://forum.kirupa.com/t/document-write-issue-in-ie/271828>\
**Category:** Uncategorized\
**Created:** [September 29, 2008, 8:28am UTC](https://forum.kirupa.com/t/document-write-issue-in-ie/271828 "2008-09-29T08:28:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theSchtickler](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Post date:** [September 29, 2008, 8:28am UTC](https://forum.kirupa.com/t/document-write-issue-in-ie/271828/1 "2008-09-29T08:28:25Z")

</div>

Hi there,

I am using a few bits of tech here, but I’ve narrowed everything down to this bit…

This code works for me in IE:

```auto
<param name="movie" value="mymovie.swf?greeting=hello" />

```

But this doesn’t:

```auto
<script type="text/javascript">
document.write('<param name="movie" value="mymovie.swf?greeting=hello" />');
</script>

```

Anyone shed any light on this? I can’t work it out…
