title: Add content to a new open window
body: <p>I don't know how to solve this issue, I've trying reading many post but no one answer to it.</p>
  
  <p>I need to open a new window with a page already coded (inside the same domain) and add some content.</p>
  
  <p>The problem is that if I use <code>OpenWindow.write()</code> the page is not loaded yet or it overrides everything and only the code added through write appears.</p>
  
  <pre><code>var OpenWindow = window.open('mypage.html','_blank','width=335,height=330,resizable=1');
  OpenWindow.document.write(output);
  </code></pre>
  
  <p><code>output</code> is the code I need to append.</p>
  
  <p>I need it to work at least on Firefox, IE and GC.</p>
  
  <p>Thanks in advance. It is not a problem if I need to use JQuery.</p>