You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any option available in jquery dirty forms to stop the default browser alert and display a custom message on the window before unload? On window unload, I need to return false if any dirty value resides and display custom modal message else prompt nothing and take the user to clicked target. Note: Here I do not want to display the default browser alert message box instead I want to show a custom modal message box.
Thanks! Any response appreciated.
The text was updated successfully, but these errors were encountered:
This is browser specific, but in general, no. There is no way to customize what the browser displays when leaving the page (except for the message on browsers that allow you to customize it).
There was a bug I was tracking down a while back, and if I recall correctly it is possible to display a DirtyForms dialog under the default browser dialog (so you could potentially provide more info). The drawback is that the user would have to answer whether to stay on the page twice.
Is there any option available in jquery dirty forms to stop the default browser alert and display a custom message on the window before unload? On window unload, I need to return false if any dirty value resides and display custom modal message else prompt nothing and take the user to clicked target. Note: Here I do not want to display the default browser alert message box instead I want to show a custom modal message box.
Thanks! Any response appreciated.
The text was updated successfully, but these errors were encountered: