I downloaded this form script and can't figure out how to get it to actually send the form to an email.
form: http://digitaledgehosting.com/testing/illustrationsandillusions/contact.php
processor: http://digitaledgehosting.com/testing/illustrationsandillusions/form_processor.php
This is the original: http://www.redwingstudio.com/2007/04/05/ajax-contact-form-with-php-fallback/
function sendemail() {
var comments = document.contactform.comments.value;
var first_name = document.contactform.first_name.value;
var last_name = document.contactform.last_name.value;
var email = document.contactform.email.value;
var phone = document.contactform.phone.value;
document.contactform.send.disabled=true;
document.contactform.send.value='Sending....';
http.open('POST', 'form_processor.php','true');
http.onreadystatechange = handleResponse;
// force no-cache so browser always makes request and doesn't use cache'd results
http.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
// tell server this is a form submission
http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
http.send('comments='+comments+'&first_name='+first_name+'&last_name='+last_name+'&phone='+phone+'&email='+email+'&action=send');
}
function handleResponse() {
if(http.readyState == 4){
var response = http.responseText;
var update = new Array();
if(response.indexOf('|' != -1)) {
update = response.split('|');
document.getElementById(update[0]).innerHTML = update[1];
document.contactform.send.disabled=false;
document.contactform.send.value='Send Email';
}