<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<script type="text/javascript">
var url = "https://maps.googleapis.com/maps/api/place/search/json?key=AIzaSyBnEjp_CRcL_APx4mMsmuke9SV1PWZfnww&sensor=false&location=26.526437,-80.163004&radius=500&keyword=Physican%27s+Weight+Loss+Centers&types=";
jQuery.getJSON(url, function (data) {
alert(data);
});
</script>
</body>
</html>
运行上面的代码时,我没有收到警报窗口。URL 没有任何回调函数。任何帮助或有用的链接如何使用 jQuery 或 Javascript 从 JSON URL 解析/检索数据将不胜感激。