Answer the question
In order to leave comments, you need to log in
Ajax Russian letters?
Hello. Please tell me how to solve the problem with Russian letters? When submitting the form, I get this
request:
$(function() {
$('#catalog-search').submit(function(e) {
var $form = $(this);
console.log($form.serialize())
$.ajax({
type: $form.attr('method'),
url: $form.attr('action'),
data: $form.serialize()
}).done(function(response) {
console.log('Запрос отправлен');
}).fail(function(error) {
console.error(error);
});
e.preventDefault();
});
});
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