I need to check if the form has changed, ie if some input data has changed, etc.
So that when you do submit
, or leave the page, make some button click, or the menu is informed to the user that the data has been changed, and that have not yet been saved.
I found this link , but I do not know if it is possible, I wanted it in any click that was not the submit of the page and had made the change the user was notified, to do this I have to call function
in several places, or is there a function that makes this general in the form
page?