title: Disable form auto submit on button click
body: <p>I have a HTML form where I use several buttons. The problem is that no matter which button I  click, the form will get submitted even if the button is not of type "submit". e.g. Buttons like :<code>&lt;button&gt;Click to do something&lt;/button&gt;</code>, result in form submission.</p>
  
  <p>It's quite painful to do an <code>e.preventDefault()</code> for each one of these buttons.</p>
  
  <p>I use jQuery and jQuery UI and the website is in HTML5.</p>
  
  <p>Is there a way to disable this automatic behavior?</p>