Answer the question
In order to leave comments, you need to log in
Book button not working?
Hello!
On the WordPress site https://dreammediagroup.kz there is an ORDER DEVELOPMENT button that calls the form.
The form is implemented via jquery.ajax located in the common.js file
$("#callback").submit(function() {
$.ajax({
type: "GET",
url: "/wp-content/themes/dmgsite/mail.php",
data: $("#callback").serialize()
}).done(function() {
alert("Спасибо за заявку!");
setTimeout(function() {
$.fancybox.close();
}, 1000);
});
return false;
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question