看到篇有关跨域问题的文章,mark一下
http://www.cnblogs.com/tugenhua0707/p/5135533.html#_labe2
http://blog.csdn.net/joyhen/article/details/21631833
方案:
1.jsonp
2.iframe+location.hash(额外proxy页面)
3.iframe+window.name(额外proxy页面)
4.iframe+document.domain(父子域)
5.postMessage
6.websocket
7.服务器access-control-allow-origion设置