How do I trap enter from form except textarea
<p>In a dynamic form, I have the following code to trap 'enter' key.</p>

<pre><code>$(document).bind('keypress', function (e) {  
  if (e.keyCode == 13) { 
    e.preventDefault();
  }
});
</code></pre>

<p>Occasionally, there is an element like HTMLTextAreaElement which accept 'enter' key. </p>

<p>how do I unbind preventDefault only for HTMLTextAreaElement.</p>

<p>TIA.</p>
