You are here: 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