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
The value of name needs quotes around it. Try this:
$(document).ready(function() { $("form[name='pForm']").submit(function(){ return false; }); });