• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stop button of IE ???

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Can I disable stop button of IE and If it is not possible then can i catch that event of stop button click. I want to give alert msg to user if user click on stop button of IE in between page submit.

Thanks & Regards
Bikash
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
best you can do is see if onabort="alert('asdf')" works.

Eric
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,

First of all thanks for the reply.

But i couldn't find any attribute onAbort in FORM tag. onAbort is a attribute of IMG tag. But i want to give alert msg to user if user click on stop button of browser in between form submit.

Thanks & Regards
Bikash
 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic