SyntaxFix
Write A Post
Hire A Developer
Questions
Use @Kristian Antonsen's answer, or you can use:
$('button').click(function() { preventDefault(); captureForm(); });