title: How can I disable the ENTER key on my textarea?
body: <pre><code>&lt;form name='qform'&gt;
  &lt;textarea name='q' rows='3' cols='60' wrap='hard' id='q' onkeydown="if (event.keyCode == 13) document.getElementById('clickit').click()"&gt;&lt;/textarea&gt;
  &lt;input type='button' value='search' id='clickit' onclick="get();"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I have this form... it doesn't have a submit button because I am using jquery and under this form is a div area where the results will be shown. It is a search engine that does not have an input box but instead has a textarea. This is because it will be a multiple word searcher.</p>
  
  <p>The problem is that if I press enter, the query is submitted and everything is ok ... but the focus on textarea goes down one line and that is a problem for me.</p>
  
  <p>Basically I want the enter to have that one function only(submit) end nothing else.</p>