Why can’t I get this JSON when it’s properly formatted?
jQuery.getJSON("http://sandbox.buscape.com/service/findProductList/564771466d477a4458664d3d/?keyword=drive&format=json", function(result){
alert('ok');
});
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because it comes from a different domain. You have to use JSONP, luckily the API you are using supports it (by setting the callback parameter):