Disable "Changes you made may not be saved" pop-up window
![sachin](https://forum.devsach.in/uploads/userpics/IVI3WCFD8RRU/nSATHAXOYPF4U.jpg)
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
- 84 All Categories
- 16 VoIP
- 7 SIP
- 12 asterisk
- 41 Programming
- 1 Nodejs
- 4 javascript
- 18 PHP
- 8 Codeigniter
- 12 database
- 1 UI/UX
- 2 Flutter
- 25 OS
- 23 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal