window.print and history.back

M

Marco Dieckhoff

Hi!

I'm trying to use a combination of windows.print() followed
directly by history.back().

The desired effect is to print the shown window and go back to that
one before.

I'm presenting a user a database result screen that's only
generated to be printed.
He shall get back to his previous sight after printing.

The problem:
history.back() is done before the printing dialog appears and
therefore the "previous" window is printed.

Can anyone tell me where my fault is? Or is it just a "normal"
behaviour of my browser?
(btw, I'm using IE 5.5)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,569
Members
47,206
Latest member
MalorieSte

Latest Threads

Top