title: Is there anyway of getting javascript code injected in an iframe to execute without removing and reappending the script tag containing it?
body: <p><em>Context:</em></p>
  
  <p>I am building a live HTML,CSS &amp; Javascript editor.
  It can be accessed <a href="http://experiments.muditameta.com/qckmeddler/" rel="nofollow">here</a>.</p>
  
  <p>The source can be accessed <a href="https://github.com/zeusdeux/qckMeddler" rel="nofollow">here</a>.</p>
  
  <p><em>Question:</em></p>
  
  <p>Is it possible to run javascript code injected into an iframe without repeated removal and addition of &lt;script&gt; tag containing the code from and to the DOM tree? Since DOM manipulation is a costly affair, I want to try and eliminate multiple DOM manipulations.
  Instead I want to be able to just change the <em>textContent</em> of the &lt;script&gt; tag and have it run the new code that I've inserted.</p>
  
  <p>Thanks!</p>