I\'m trying to use Javascript to submit the form\'s data. Here\'s the html.
//input fields here
Keep your js out of the DOM.
//input fields
JQuery:
$('#myform').submit(function(event){ alert('submitted'); event.preventDefault(); });