如果你们能帮我解决这个问题,我会非常感激。
我遇到的错误是:
“Resource interpreted as Script but transferred with MIME type application/json.”(“Resource”是指来自Google服务器的json响应。)
以下是我的代码:
我遇到的错误是:
“Resource interpreted as Script but transferred with MIME type application/json.”(“Resource”是指来自Google服务器的json响应。)
以下是我的代码:
$(document).ready(function(){
$.getJSON("http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false&callback=?", function(jsondata) {
});
});