AJAX call return Unexpected token ILLEGAL on GET request
I use AJAX on GET call, but chrome console show me an error: "Uncaught SyntaxError: Unexpected token ILLEGAL".
function go_API(){
$.ajax({
url: 'http://www.video2mp3.at/settings.php',
data: {
set: "check",
format: 'mp3',
id: "VYsSw06AZRI",
key: 201813
},
dataType: 'jsonp',
success: function(msg) {
console.log(msg);
}
});
}
The data returned is
OK|2|9d6e363b378df616e4677c0738d3827b|Sandra Echeverria-Nos volveremos a ver(LYRICS)|NO|
I saw that several had this problem, but in datatype: json, nothing approaching my code. So.. What's wrong?
链接地址: http://www.djcxy.com/p/46014.html