Multi-person cooperation in the development of a site process, in order to facilitate the development of some public files such as js,css,images on the Internet, each link to such files for use. Local testing when some of the Web page JS code in the IE8,IE6 will stop running, and reported a JS file refused access, such as Jquery.js. Jquery.js is certainly not wrong, and this error occurs only in IE, FF and chrome are normal, and the outside test is normal. After analysis, the discovery is caused by IE cross-domain, in
Multi-person cooperation in the development of a site process, in order to facilitate the development of some public files such as js,css,images on the Internet, each link to such files for use.
Local testing when some of the Web page JS code in the IE8,IE6 will stop running, and reported a JS file refused access, such as Jquery.js. Jquery.js is certainly not wrong, and this error occurs only in IE, FF and chrome are normal, and the outside test is normal.
After analysis, found that the internet is caused by IE cross-domain, in the external network test, JS files and Web files are in a two-level domain name, everything is normal; local testing is a cross-domain call that throws an error.
Countermeasures:
tool--internet Options--security--Define your own level--other--through the domain Access data source , set to be available (I do not know if this setting has security issues)
How to deal with the refusal of access in IE jquery