Answer the question
In order to leave comments, you need to log in
How to handle this ajax error?
My code is very simple:
var запрос = new XMLHttpRequest()
запрос.open('POST', /'1.php')
запрос.onreadystatechange = function()
{
if(запрос.readyState === 4)
{
var ответ = JSON.parse(запрос.responseText)
alert(запрос.responseText.length)
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