Answer the question
In order to leave comments, you need to log in
Json Uncaught SyntaxError: Unexpected token: how to solve?
When I send a get request to the server, I get
data.json?callback=jQuery1111073…_1539940574412&_=1539940574413:2 Uncaught SyntaxError: Unexpected token :
$.ajax({
url: 'http://www.mrsoft.by/data.json',
jsonCallback: 'data',
dataType: 'jsonp',
success: function(json){
alert(json);
}
});
});
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