Text only
jQuery form prevent submit
/raw/e0d6ba7a16a58bd79fc4fe2c29afda2f/
e0d6ba7a16a58bd79fc4fe2c29afda2f
text
Text only
3
2025-04-04T11:36:09
True
False
False
Dec 28, 2016 at 12:09 AM
/api/public/snipt/3/
jquery-form-prevent-submit
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a>
<a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>event.preventDefault();
</span><span id="L-2"><a name="L-2"></a>event.stopImmediatePropagation();
</span></pre></div>
</td></tr></table>