title: insert script to new window with jquery html()
body: <p>I usually insert html+scripts returned from ajax request to the document using jQuery html() method, which also executes the scripts.</p>
  
  <p>Means that if I write:</p>
  
  <pre><code>$(document.body).html("&lt;script&gt;alert()&lt;/"+"script&gt;");
  </code></pre>
  
  <p>it will execute the script.
  (the + is only for the browesr, since writing <code>&lt;/script&gt;</code> in a string does not work.)</p>
  
  <p>The problem - if I do the same for a new opened window, it does not work. i.e. the scripts are not executed. why?</p>