Wait for print dialog to close

M

Marcel Stör

Hi all,

If window.print() is issued Netscape (I guess Opera & Mozilla, too) waits
until the print dialog is closed before it returns the control flow to the
script - IE doesn't.
Example:
<sometag onClick="window.print();anyOtherCommand();">print</sometag>

In IE anyOtherCommand(); is executed while the print dialog is still
showing. The other browsers wait until the dialog is closed (either 'Ok' or
'Cancel').

Does anyone know how to achieve the same behaviour with IE?

Regards,
Marcel
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top