Similar Topics:
Executing Scripts inserted with InnerHTML
Inserting Script Tags on Page Load
I have noticed that when using .innerHTML to add script elements like
<script type="text/javascript" src="source.js"></script>
or
<script type="text/javascript"> // embedded code here </script>
The scripts do not execute. They seem inactive or "dead". Is there a way to manually initiate their execution?