title: Disable enter in input box
body: <p>I have a <code>textarea</code> where it should not be possible to input line breaks by pressing <code>enter</code>. How can I disable <code>enter</code> in my textarea?</p>
  
  <p>That is the code:</p>
  
  <pre><code>&lt;textarea name="textarea" style="width:250px;height:150px;"&gt;&lt;/textarea&gt;
  </code></pre>