title: Validate form before submit jquery
body: <p>I have an HTML form. I am validating my form using <code>jquery.validate.js</code> and it works on submitting an event. I want to validate this form before submit get fired.</p>
  <p>As per my research I have tried :</p>
  <pre><code>$('#my-form').on('before-submit',function(){
     alert('Before submit performed');
  });
  </code></pre>
  <p>I want to validate the form Just before firing submit event.
  How to do this?</p>