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.