How to inject an external javascript file into a div
<p>How can an external javascript file be injected into a div. When I try to set it using below code, the div 'toupdate' is not updated with new javascript file.</p>

<pre><code>&lt;script type="text/javascript"&gt;

$(document).ready(function () {
      $('#toupdate').html('&lt;script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/5968383.js"&gt;&lt;/script&gt;');
});

&lt;/script&gt;

    &lt;body&gt;
    &lt;div id="toupdate"&gt;
    &lt;script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/6343621.js"&gt;&lt;/script&gt;
    &lt;/div&gt;

    &lt;/body&gt;
</code></pre>
