Possible Duplicate:
Executing <script> elements inserted with .innerHTML
Dynamically Inserting <script> tags into HTML on Page Load
What I mean is that if I do .innerHTML write that contains
<script type="text/javascript" src="source.js"></script>
or
<script type="text/javascript"> // embedded code here </script>
The embedded code does not run and neither does the linked to code. It is "dead".
Is there a way to manually trigger it?