<!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中的数据。