SyntaxFix
Write A Post
Hire A Developer
Questions
Your Code is Fine just you need to place it inside the ready function.
$(document).ready( function() { $("#cpa-form").submit(function(e){ e.preventDefault(); }); }