I'm sure this has been asked before but can't seem to find it.
I've a (mostly) php page which has a simple button on it to print. Printing is done with a simple onClick="print.window()". Everything's fine in that it's calling the print.css correctly and what is being printed is what I expect. I'd like to have a method for asking the user if the document printed OK. If they say yes, I'll send them to a page that purges the php session and logs them out. If no, we'll either remain on or redisplay the page they tried to print.
I'm guessing this is going to be a javascript solution, and I have no problem using the jquery framework if that's easier.
Any suggestions would be greatly appreciated.
Thanks in advance,
-Ray