function send() { //Получаем параметры var data = $('#theForm').serialize() // Отсылаем паметры $.post("post.php", data, function(data) { $(".final-message").html(data); } );}