Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to close page after printing

Status
Not open for further replies.

SD8146

Technical User
Jul 8, 2005
14
We have an online application form that, when submitted, displays and prints a confirmation page - the printing is done with -"onload="window.print()" so the user has to click OK to get the page to the printer.

My question is - is there any code I can use to close the confirmation page after printing and return the user to the previous page or a home page?

Many thanks
 
no... the closest you could get would be a timeout (which I don't recommend) or just a link that a user can click to go back or close the window.



*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top