title: how to print the contents of a hidden iframe?
body: <p>i want to print a page which i put in an iframe but dont want the contents to be displayed in the webpage ,  but the print button doesnt work when i put the iframe to display='none'</p>
  
  <p>what i did:-
  i set the iframe style='none'</p>
  
  "name="frame1" >
  
  <pre><code>&lt;input type="button" onclick="frames['frame1'].print()" value="print!"&gt;
  </code></pre>
  
  <p>how can i print the contents of iframe without displaying it on the webpage or say by keeping the ifram hidden</p>
  
  <p>would really appreciate any help.....</p>