IE7 onbeforeunload HTA Options



Hi,

I have a HTA with onbeforeunload event handler to warn user to save
the data on closing the browser. On close[X] button click, a message
dialog will display. User click on OK button to close the browser and
user click on cancel button to return to the browser. This works fine
in IE6.


But in IE7, even user click on the cancel button, the browser is
closed. This only happends to HTA. HTML is working fine too.


Any idea how to fix the issue?


Thanks.

.


Loading