Print page from hidden iframe
<p>I have problem hiding the page I want to print.</p>

<p>When I click on the input button :</p>

<pre><code>&lt;input type="submit" id="print" name="print"&gt;
</code></pre>

<p>This executes the following :</p>

<pre><code>$(function(){
   $('#print').click(function(){
       if($('#bills_ID').val()==''){popUpMessage(Error);}
       else { window.open('Bills/BillsPrint.php?bills_ID='+$('#bills_ID').val(), '_blank') } 
   }); 
});
</code></pre>

<p>and prints the page. At this point I do not want to open this page Bills/BillsPrint.php when printing. I simply want it print without displaying the page.</p>

<p>how can i try this by using hidden ifram</p>
