title: how to pass div value to window.open?
body: <p>I'm trying to pass a <code>DIV</code> to a new window.</p>
  
  <h3>JavaScript</h3>
  
  <pre><code>function openWin() {
      myWindow=window.open('','','width=200,height=100');
  }
  </code></pre>
  
  <h3>HTML</h3>
  
  <pre><code>&lt;div id="pass"&gt;pass this to the new window&lt;/div&gt;
  &lt;a href="#" onclick="openWin();"&gt;click&lt;/a&gt;
  </code></pre>
  
  <p>Can someone help me out?</p>