Displaying 1 result from an estimated 1 matches for "someprintpage".
2006 May 09
8
Dynamically printing a page
...the
iframe to the page dynamically, either.
So this doesn''t work with IE, but it does with Firefox:
<html>
<head>
<script language="javascript" type="text/javascript">
function PrintAPage() {
$(''printer'').src = ''someprintpage.html'';
}
</script>
</head>
<body>
<span onclick="PrintAPage()">Print a page</span>
<iframe id="printer" height="1" width="1" ></iframe>
</body>
</html>
_______________
As a side p...