跳到正文
当下的七炎
返回

JSONP跨域

编辑文章
function jsonp(res){
console.log(res.name)
}
jsonp({"name":"joe"});//2

输出joe 标记为2你可以放到任何域名下的 xxx.js里 xxx.php里 xxx.do里、、、


编辑文章
分享这篇文章:

评论

使用 GitHub 账号登录后即可评论


上一篇
git常用命令
下一篇
.gitignore