归档: 2018/11

IE中使用ajax碰到的问题

##IE中的crossDomain=true属性设置再ajax请求过程中设置了crossDomain=true属性,再谷歌内核中是可以正确解读为support.cors = true,发现其他浏览器中都是support.cors = true,唯独在IE中support.cors = false,这个属性的判断来自于support.cors = !!xhrSupported &&

Fork me on GitHub