title: Input type button/submit that does both form validation and submit via jquery ajax?
body: <p>I am trying to use jquery validator plugin and form submit via ajax in jquery.....</p>
  
  <p>Validator plugin works with <code>&lt;input type="submit" value="Add a client" id="clientadd"/&gt;</code> but my form submit works with <code>&lt;input type="button" value="Add a client" id="clientadd"/&gt;</code>.....</p>
  
  <pre><code>&lt;form id="addform" autocomplete="off"&gt;
   //My controls here
  &lt;/form&gt;
  </code></pre>
  
  <p>I didn't specify <code>action</code> and <code>method</code> attributes here as i ll submit my form using <code>jquery.ajax()</code>.... Any suggestion how to get both working together....</p>