function jsonp(res){ console.log(res.name) } jsonp({"name":"joe"});//2 输出joe 标记为2你可以放到任何域名下的 xxx.js里 xxx.php里 xxx.do里、、、
评论
使用 GitHub 账号登录后即可评论