Is there a better onchange?
<p>I've got a textarea, and when it changes, I'd like a function to be called.</p>

<p>However, the standard onchange event fires after the focus leaves the textarea. What I really want is for the even to fire as soon as the user begins typing.</p>

<p>I could bind onkeypress, but that doesn't handle, say, pasting text into the textarea with the mouse. Plus it fires for Tab and other non-changing keypresses.</p>

<p>Is there a better solution?</p>
