Tag Archives: bug—— IE8 ajax

“bug” IE8 ajax 25253338169no transport

For example, I use the $. Ajax() method to request data. It works normally in modern browsers, but under IE 8, there will be an error: no transport

It is learned from stackoverflow that this problem occurs because * * IE 8 does not support cross origin restore share XHR * * requests, so it is not possible to request data across domains through native XHR or $. Ajax()

IE 8 implements its own set of methods: xdomainrequest

So I tried Google – “jQuery is compatible with IE 8 xdomainrequest”, and found a plug-in: jquery.xdomainrequest.min.js. Click download and directly reference it in the page to solve the problem (only IE8 and IE9 are supported)