SyntaxFix
Write A Post
Hire A Developer
Questions
element.defaultValue will give you the original value.
element.defaultValue
Please note that this only works on the initial value.
If you are needing this to persist the "old" value every time it changes, an expando property or similar method will meet your needs