javascript editing prompt -


I am creating a web application in which I must show the user's edit signal to navigate through the page.

I want to show it only when the user edits some values ​​on that page and does not save the change, then the prompt "Do you want to save changes?" Will ask. Otherwise, the prompt does not appear if it is saved.

A processing signal similar to Microsoft Word / Excel informs you that you are making changes and you want to proceed.

Please solve the solution faster?

You can use onbeforeunload :

Although support is limited because it is based on some invention of Microsoft and others have copied it. It is not possible to do whatever you want in a browser that does not support this incident.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -