IE7 onbeforeunload HTA Options
- From: TSChong <tiensen@xxxxxxxxx>
- Date: Thu, 20 Sep 2007 05:25:48 -0000
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.
.
- Prev by Date: Re: window.location.hash in firefox
- Next by Date: Re: Create a string with (n) copies of the same character
- Previous by thread: Create a string with (n) copies of the same character
- Next by thread: How to optimize this JavaScript?
- Index(es):
Loading