JavaScript 和Ajax跨域问题

json格式:
{
    "message":"获取成功",
    "state":"1",
    "result":{"name":"工作组1","id":1,"description":"11"}
}
jsonp格式:
callback({
    "message":"获取成功",
    "state":"1",
    "result":{"name":"工作组1","id":1,"description":"11"}
})


http://www.cnblogs.com/sunxucool/p/3433992.html
posted @ 2017-05-14 18:59  datang6777  阅读(141)  评论(0编辑  收藏  举报