美文网首页
IE8 jquery 跨域问题解决

IE8 jquery 跨域问题解决

作者: 奋斗_登 | 来源:发表于2016-07-26 17:33 被阅读71次

    1.设置IE浏览器安全级别

    Internet选项->安全->本地->自定义级别->设置->其他->通过域访问数据源(启用)

    2.设置ajax support.cors

    在ajax发起请求前加上$.support.cors=true;这句

    over!

    相关文章

      网友评论

          本文标题:IE8 jquery 跨域问题解决

          本文链接:https://www.haomeiwen.com/subject/lvnnjttx.html