$('form').submit(function(e){
e.preventDefault();
data = new FormData(this);
xhr = new XMLHttpRequest();
xhr.open( 'POST', '/url', true );
xhr.onreadystatechange = function ( response ) {
if (xhr.readyState == XMLHttpRequest.DONE) {
console.log(xhr.responseText);
}
};
xhr.send( data );
});