Disable "Changes you made may not be saved" pop-up window
in javascript
I created a form. If after partially filling it, I decide to change the screen. I receive the "Changes you made may not be saved" message. How to disable this message? I don't want to see it.
Tagged:
0
Answers
-
The message is the beforeunload event. And I can disable it with
window.onbeforeunload = null;
1
Howdy, Stranger!
Categories
- 94 All Categories
- 20 VoIP
- 7 SIP
- 16 asterisk
- 44 Programming
- 1 Nodejs
- 4 javascript
- 19 PHP
- 8 Codeigniter
- 14 database
- 1 UI/UX
- 2 Flutter
- 28 OS
- 26 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal