Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Аякс отправка форм
//Аякс отправка форм
$("#form, #form2").submit(function(e) {
type: "POST",
url: "mail.php",
data: $(this).serialize()
}).done(function() {
alert("Спасибо за заявку!");
setTimeout(function() {
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.