[wd_asp elements=’search’ ratio=’100%’ id=1]

Ajax – $POST data to another page on submit

1st July 2013

Jquery - Ajax

jquery icon

You might need to change .submit to .click
$("#myform").submit(function() {
$.post("formprocessorforgot.php", $("#myform").serialize(),
function(data) {
$("#formResponse").html(data);
window.location = "thankyou.html";
}
);
return false;
});

Use a sendmail script. This will send all the data within the form “myform” to an email address specified in the mail script….