$('#form').submit(function(){ $.ajax({ type: "POST", url: "form/ajax.php", data: $("#form").serialize(), success: function(html){ $("#status").html(html); } }); return false; });