title: Prevent Default on Form Submit jQuery
body: <p>What's wrong with this?</p>
  <p>HTML:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;form action=&quot;&lt;URL&gt;http://localhost:8888/bevbros/index.php/test&quot;
            method=&quot;post&quot; accept-charset=&quot;utf-8&quot; id=&quot;cpa-form&quot; class=&quot;forms&quot;&gt;        
      &lt;input type=&quot;text&quot; name=&quot;zip&quot; id=&quot;Zip&quot; class=&quot;required valid&quot;&gt;      
      &lt;input type=&quot;submit&quot; name=&quot;Next&quot; value=&quot;Submit&quot; class=&quot;forms&quot; id=&quot;1&quot;&gt;
  &lt;/form&gt;
  </code></pre>
  <p>jQuery:</p>
  <pre class="lang-js prettyprint-override"><code>$(&quot;#cpa-form&quot;).submit(function(e){
      e.preventDefault();
  });
  </code></pre>