View Full Version : Google Chrome Redirect Problem

07-11-2011, 10:25 PM
I need to display a receipt, open the print dialog and then go back to another form.

My code is as follows at the bottom of the page:

<script type='text/javascript'>

It works prefect in firefox, but not in chrome.
In Chrome it just redirects and never waits for the print dialog.

I need it to wait until the user can click print or cancel. If I take out the window.location line it brings up the print dialog (but I want it to redirect afterwards).

Thanks to anyone who can help!

07-12-2011, 12:50 AM
Attach the redirect to the print/cancel buttons.

07-12-2011, 05:00 PM
how? I thought the print and cancel were part of the browser. But that would be great I would like to go to a different page depending on if they hit ok or cancel.

07-12-2011, 09:08 PM
Sorry, Only me shooting from the hip again. Though you were controlling the printing.