mayannajeeb
11-12-2006, 11:10 PM
Hi all,
I have an html page ,I want to stop unloading this page .. for this i used
<script language="javascript">
window.onbeforeunload=confirm;
function confirm(){
event.returnValue = "Closing forms application. OK to continue?";
}
</script>
This works fine but i have a problem this popus up an alert everytime it refreshes ,i want to stop unloading the page and i dont want any message to be displayed at the client side.
Please Helpe me to resolve this.
I have an html page ,I want to stop unloading this page .. for this i used
<script language="javascript">
window.onbeforeunload=confirm;
function confirm(){
event.returnValue = "Closing forms application. OK to continue?";
}
</script>
This works fine but i have a problem this popus up an alert everytime it refreshes ,i want to stop unloading the page and i dont want any message to be displayed at the client side.
Please Helpe me to resolve this.