Friday, February 29, 2008

Internet Explorer 7 bug

You can not do this in Internet Explorer. For it to work, you must remove the div tags!

<div><script>document.body.appendChild(document.createElement('script'))</script></div>

May you be able to in IE8

1 comment:

Donovan Mueller said...

Or you could just use jQuery and not have to worry about crossbrowser support :D http://docs.jquery.com/Manipulation/append#content