How to add a script element in an iframe for jQuery
<p>I have a parent document and iframe with some JavaScript code to add a <code>script</code> element in an <code>iframe</code> bellow:</p>

<pre><code>var script = window.document.createElement('script');
script.src = '/jquery.myPlugin.js';
window.frames['test'].document.head.appendChild(script);
</code></pre>

<p>How to rewrite this code for jQuery?</p>
