I am trying to POST form data (several text fields and a file) via AJAX using the following code:
//POST FORM DATA AND SHOW SUCCESS MESSAGE
//ALERT USER THAT PROJECT HAS BEEN SAVED
alert('Your request has been submitted for consideration.\n\nPlease check your Lotus Notes inbox for a copy of your submission.\n\nPress "OK" to continue.');
document.location.href = "demo.php";
All of my form data posts correctly except the File field. I've read that this may have to do with the serialization of the data as it is being passed.
Can someone help me update my code so that it posts the File field that I have in my form?