I use jquery ajax method, set datatype json, I get a jsonp response from a cross-domain server. But what i want is raw string of json response. so i set datatype text, but i got nothing but a empty string.
$.ajax({
url:"http://api.douban.com/book/subject/isbn/9787802057388?alt=xd&callback=?",
dataType:'text',
success:function(data){
alert(data);
} //endof success
}); //endof .ajax
can any one tell me why? if use getJSON method to do this, how can i get a raw string of json?