Formula una domandaFormula una domanda
 

Con rispostaIE8 HTA Print lost focus

  • martedì 24 novembre 2009 23.46John.Jin Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Hi guys, we have a HTA software running some CRM functions like Invocing / Ordering. Under IE6 everything is OK. Recently we planned to switch over to IE8 but one of the problems is printing issue.
    We are using the following code to start print, the print dialog will appear and click the "print" button on the dialog will send the page to the printer. But immediately it jumps away to an other opened application (like Excel).

    "<A HREF="javascript: void(0);" ID="print" ONCLICK="window.print();">Print</A> "

    I also tried an other way as the following code, it still jumps away for a little while but then jumps back again.

    "<

    A HREF="javascript: this.focus();" ID="print" ONCLICK="window.print();">Print</A>"

    Is it a bug for IE8?

Risposte

  • lunedì 15 febbraio 2010 13.08IamMredMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
    I am trying to clear up the older open posts on this forum. If this is still an unresolved issue for you please let me know. If you do not post back within one week I will assume it is resolved and will close this thread.

    Thank you

    Ed Wilson
    Microsoft Scripting Guy

Tutte le risposte

  • lunedì 15 febbraio 2010 13.08IamMredMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
    I am trying to clear up the older open posts on this forum. If this is still an unresolved issue for you please let me know. If you do not post back within one week I will assume it is resolved and will close this thread.

    Thank you

    Ed Wilson
    Microsoft Scripting Guy