title: reset form element without reloading page
body: <p>As you might guess I'm building a small chat system, and I would like that when the user clicks enter the message would be sent and the text area cleared.</p>
  
  <p>I'm using this jquery:</p>
  
  <pre><code> jQuery('#my-form')[0].reset();
  </code></pre>
  
  <p>and it reloads the page which looks really noob.</p>
  
  <p>any ideas?</p>