Following up on my last comment, I put together a very basic script such that when the form is submitted, I just alert the value of the email address.
My Test Landing Page - http://go.kokopop.com/Form2APILP.html and below is the script when you view source.
<script src="//munchkin.marketo.net/jquery-latest.min.js"></script>
<script>
var $jQ = jQuery.noConflict();
var myForm = null; //will be set to the form object after the window is loaded
function printSomeValues()
{
var vals = myForm.getValues();
window.alert("Here is the email address - " + vals.Email);
myForm.submitable(true);
}
$jQ(window).load(function() {
console.log("Good news ... window is loaded");
if (MktoForms2.getForm(1944))
{
myForm = MktoForms2.getForm(1944);
myForm.onSubmit(function(){
printSomeValues();
});
}
});
</script>