SyntaxFix
Write A Post
Hire A Developer
Questions
Every DOM element has an attribute called defaultValue. You can use that to get the default value if you just want to compare the first changing of data.