HTA and onbeforeunload

Discussion in 'Internet Explorer' started by TS, Sep 20, 2007.

  1. TS

    TS Guest

    I have a function to warn user to save the data on the page on Close [X]
    button click in my HTA. On the message dialog "Are you sure you want to
    navigate away.." display, when user click Cancel button, the HTA remains.

    This is working in IE6

    But in IE7, even on Cancel button click, the HTA is closed.

    Any idea on how to fix the issue?

    TS, Sep 20, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.