title: event trigger on submit
body: <p>I want to perform javascript validation after user submits the form. Documentation for jQuery <code>.submit()</code> clearly says:</p>
  
  <blockquote>
    <p>The submit event is sent to an element when the user is attempting to submit a form.</p>
  </blockquote>
  
  <p>But if I put</p>
  
  <pre><code>$('form.simple_form.new-channel').submit perform_validation()
  </code></pre>
  
  <p>into my code, <code>perform_validation()</code> is triggered every time page is rendered! Even when there is no form on it and no 'submit' button. What is the correct way to call a function after submitting a form?</p>