For example we have html input with value="wally":
<input type="text" value="wally" />
How to get this old "wally" value (using jQuery) after user change it?
I tried to get it with .attr(), .prop(), .val() but all of them return the new value, which user entered.
You may test the code on jsfiddle. Try to change input value and click "get" blue button.
P.S. jQuery 1.7.2 included into the jsfiddle.