How do I prevent a form from submitting using jquery?
I tried everything - see 3 different options I tried below, but it all won\'t work:
$(docu
You forget the form id, and it works
$('form#form').submit(function(e){ e.preventDefault(); alert('prevent submit'); });