title: Textarea enter keypress not working because of form submit enter prevention
body: <p>I have a form in which I've used the following code to prevent the form being submitted on the press of 'Enter'.</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function() {
    $(window).keydown(function(event){
      if(event.keyCode == 13) {
        event.preventDefault();
        return false;
      }
    });
  });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>As a result, the 'Enter' key is not working in any textarea input. I can't enter a new line because of the body function. How do I solve this?</p>
  
  <pre><code>&lt;textarea name='description' placeholder="Any other information (optional)"&lt;/textarea&gt;
  </code></pre>