title: Print iframe content in Opera and Chrome
body: <p>I'm trying to print iframe content.</p>
  
  <pre><code>contentWindow.focus();
  contentWindow.print();
  </code></pre>
  
  <p>This code works in IE, Firefox and Safari. But don't work in Chrome and Opera. These browsers print entire page.</p>
  
  <p>I tried to use this topic <a href="https://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome">How do I print an IFrame from javascript in Safari/Chrome</a>. But it didn't help me.</p>
  
  <p>Could someone help me?</p>