I\'m trying to use Javascript to submit the form\'s data. Here\'s the html.
//input fields here
Since you added the jQuery tag, this it the best way to do this: unobtrusive event attach
jQuery
$('form').submit(function(){ alert('the form was submitted'); return false; });
In your's way it should be;