1.设置IE浏览器安全级别
Internet选项->安全->本地->自定义级别->设置->其他->通过域访问数据源(启用)
![](https://img.haomeiwen.com/i1702706/a670a20e62d044fd.png)
2.设置ajax support.cors
在ajax发起请求前加上$.support.cors=true;这句
over!
1.设置IE浏览器安全级别
Internet选项->安全->本地->自定义级别->设置->其他->通过域访问数据源(启用)
2.设置ajax support.cors
在ajax发起请求前加上$.support.cors=true;这句
over!
本文标题:IE8 jquery 跨域问题解决
本文链接:https://www.haomeiwen.com/subject/lvnnjttx.html
网友评论