I\'m running into a bit of trouble while trying to cancel the submit of a form. I\'ve been following this tutorial (even though i\'m not making a login script), and it seems
How about this one?
$('form[name=pForm]').on('submit',function() { console.log("(^o^)"); return false; });