Strange AJAX bug with IE 11

前端 未结 5 1104
南笙
南笙 2020-12-25 12:33

I\'m currently working on a purely HTML and JavaScript driven web app that uses CORS for consuming a remote web service but currently having trouble with IE 11 making a GET

5条回答
  •  北海茫月
    2020-12-25 13:18

    i'm not sure, maybe it's caching, try to set property "cache: false"

    otherwise, you can also try add a datetime at the end of your url, so you have everytime a different url and IE won't cache

    url +""+ (new Date()).getTime()
    

提交回复
热议问题