title: Append <script> when preparing a html code for iframe: without executing
body: <p>I am preparing an HTML code on memory for an Iframe, when I use append it executes the code.</p>
  
  <pre><code>html = $(parser.parseFromString($("#EHtml").val(), "text/html"));
  js = '&lt;script&gt;' + $("#EJs").val() + '&lt;/script&gt;';
  html.find('body').append(js);
  </code></pre>
  
  <p><code>$("#EHtml").val()</code> contains HTML code 
  and the append function does its job but also executes the code.
  Any thoughts here?</p>