求助,js解析json
直接上代码 ,一直出现 Uncaught SyntaxError: Unexpected token :
刚入行不懂 ,望大神详解
上代码:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script src="jquery-3.2.0.min.js"></script>
<title>无标题文档</title>
<script>
$.getJSON("http://api.caipiaokong.com/lottery/?name=hnsby&format=jsonp&uid=732963&token=03d480ad5f6e9e34c85422303161000596b2776a&callback=?",function(jsondata){
alert(6666666);
});
</script>
</head>
<body>
</body>
</html>