title: How do I stop a button event from posting in ASP.NET MVC?
body: <p>I have a standard view and some standard <code>input</code> tags without <code>runat=server</code>:</p>
  
  <pre><code>&lt;button id="submit"&gt;submit&lt;/button&gt;
  &lt;button id="clear"&gt;clear&lt;/button&gt;
  </code></pre>
  
  <p>Pressing either causes the page to submit. Instead, I want them to do nothing since I'm handling the <code>click</code> event with JQuery. How do I do this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is my jquery code</p>
  
  <pre><code>$('#submit').bind('click', submit_click);
  
  function submit_click() {
      alert('clicked submit');
  }
  </code></pre>