Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q1478

irt.org | About | Feedback | 1951 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1478

Sent by
Ed Craft on November 03, 2000 at 15:07:50:

Worth:
Worth reading

Comments:
It is much easier in IE4 to just give the frame that you want to print focus(). When the form button is clicked the javascript gives focus() to the desired frame and then just call the print() function.

For example, the calling frame:

<script language="Javascript">
function print_report() {
parent.frames[1].focus();
parent.frames[1].print();

}
</script>


<body>

<form>
<div align="center"><center><p><input type="button" value="Print Report" name="B1"
onClick="javascript:print_report();"></p>
</center></div>
</form>
</body>


Just thought you might want to know.


Other feedback on 'irt.org FAQ Knowledge Base Q1478' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.