posted 19 years ago
Hi Eric,
I have tried with 'onabort' like below but couldn't slove my problem. Can you please guide me to slove my problem.
function msgToUser(){
alert("Some Text");
}
<script>document.onabort = msgToUser;</script>
I have also tried with 'onstop' but in this case to show alert to user double click require on stop button. If user click once then only form submission terminate, alert is not showing. I want that on single click of stop button of browser alert should show to user .
<script>document.onstop = msgToUser;</script>
Thanks & Regards
Bikash