Javascript: fast way to check if form contents have been changed before submission
Simple question (I guess)... I'm in an "edit-some-element" html form. As the page load, the form is filled with current element attributes (eg. name, etc.) I could modify some input fields or even decide not to do that but I click the same on submit button because is the only available one. MY QUESTION: is there a property/attribute of the input elements containig the initial input values that I can access to compare them with the current ones when I click on submit button? In other words: is there a fast way to check if at least one input field has been changed before submitting the form? (so