How to disable "Are you sure you want to leave this page?" in javascript

Posted by Niharikap under JavaScript on 4/25/2013 | Points: 10 | Views : 5605 | Status : [Member] | Replies : 1

I am getting below alert message in IE while navigating to another page in the application. Customer don't want this alert while moving to another page.
So, Can you please solution for how to disable below message in java script?

Are you sure you want to leave this page?
Options -> Leave this page
-> Stay on this page

In advance, thanks for your support...


Posted by: Ankitsrist on: 4/25/2013 [Member] Starter | Points: 25

may be you have called confirm function in your button click event

Niharikap, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response