Guys, welcome. Please tell me how the message is implemented, if for example the user has changed the 1 input form, and leaves the page (or updates it) without pressing the save button. How to stop / notify that data is not saved?
Guys, welcome. Please tell me how the message is implemented, if for example the user has changed the 1 input form, and leaves the page (or updates it) without pressing the save button. How to stop / notify that data is not saved?
Source: https://ru.stackoverflow.com/questions/744484/
All Articles
window.onbeforeunload = function() { return ('Все данные, которые вы ввели будут потеряны');};and after savingwindow.onbeforeunload = "";- splash58