jQuery keyup only keys that affects textarea content
<p>How can I detect if the value of a textarea changes using jQuery? I'm currently using keyup() but this triggers every key stroke of course, I dont want my code to run if it's an arrow key that was pressed or any other key that doesn't have an impact on the value of the textarea.</p>

<p>Take a look:</p>

<pre><code>$('textarea').keyup(function() {
     if (content was changed)
         // Do something
});
</code></pre>

<p>I hope you understand. How can I do this the best way? I don't want to compare the current value to an old value to check for changes, I hope that's not the only way.</p>
