Click to See Complete Forum and Search --> : print() then thank u pg?


mstover
04-18-2003, 09:32 AM
Is it possible to have a window redirect to a thank you page after print() without using cgi?

Nevermore
04-18-2003, 11:42 AM
What do you mean? To redirect the browser in JavaScript, use the code:
window.location.href = "url";

mstover
04-18-2003, 11:53 AM
There are three simple pages: index, order form, thank you page. Right now, the index page has an "order" button which redirects the user to a thank you page which at the same time "pops up" the order form. So when they print & close the form, the thank you page is already showing. What I'd like is for them to be able to go to the order form - print the form - and have the thank you page come up after they print. Does that make more sense? (I was trying to be brief.)