首页 > 代码库 > JavaScript 和Ajax跨域问题

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

JavaScript 和Ajax跨域问题