$(document).ready(() => {
$('#quote_form').on('submit', function () {
jQuery('#quote_form').addClass('form_sending');
$.ajax({
url: "/templates/easy_moving/sendmail.php",
method: "POST",
data: jQuery('#quote_form').serialize(),
contentType: false,
cache: false,
processData: false,
src: window.location.href,
success: function (data) {
console.log(data);
}
});
});
});
Ошибок нет, и не работает