let form = $('#ajax_form').
$.ajax({
url: form.attr('action'),
type: "POST",
data: form.serialize(),
async: false,
success: function (data) {
console.log(data);
}
});