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
Post a Comment