Ok I have a page that has a link that will open a print version page on top of that window. I want to put a back button on the print version page, but I don't want the back button to print.
How would I go about that.
This is the code for the print version window.
<HTML>
<HEAD>
<TITLE>Print page<TITLE>
<BODY onload = "printForm()">
<center>
Body stuff.......
<form>
<INPUT TYPE="button" NAME="EXIT" VALUE="Exit"
onClick = "canit();">
</form>
<SCRIPT LANGUAGE="JavaScript">
function printForm(){
window.print();
window.close();
}
function canit()
{
document.close();
window.top.location="{
</SCRIPT>
</BODY>
</HTML>
Thanks as always for your expertise!!!!!,
Scott
How would I go about that.
This is the code for the print version window.
<HTML>
<HEAD>
<TITLE>Print page<TITLE>
<BODY onload = "printForm()">
<center>
Body stuff.......
<form>
<INPUT TYPE="button" NAME="EXIT" VALUE="Exit"
onClick = "canit();">
</form>
<SCRIPT LANGUAGE="JavaScript">
function printForm(){
window.print();
window.close();
}
function canit()
{
document.close();
window.top.location="{
</SCRIPT>
</BODY>
</HTML>
Thanks as always for your expertise!!!!!,
Scott