How to get the old value of a textarea
问题 That's it. How can I get the old value of a textarea in order to compare it with a new value?. The current value becomes the old value after triggering an event (say, a keyup event). I have seen some solutions, for example, using cookies to record the old value and the new value, however, such solution doesn't work in my case because of the type of manipulation I want to perform later. Hopefully, there is a suggestion which works better than that. Thanks in advance. UPDATE : After following