Answer the question
In order to leave comments, you need to log in
jquery ajax not working in IE 11?
Good afternoon.
We have such a handler:
$.ajax({
type: 'POST',
dataType: 'json',
async: false,
cache: false,
url: form.attr('action'),
data: form.serialize(),
success: function(response){
if (response.ok) {
form.submit();
} else {
alert('VALIDATION FAIL');
}
},
error: function(xhr, str){
alert('ERR: ' + xhr.responseCode);
}
});
...
error: function(xhr, str){
alert('ERR: ' + xhr.serialize());
}
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