jQuery AJAX request failing in IE

前端 未结 8 1285
[愿得一人]
[愿得一人] 2020-11-30 03:42

The following AJAX call is failing in IE.

$.ajax({
    url:\"{{SITE_URL}}/content/twitter.json\",
    dataType:\"json\",
    error:function(xhr, status, erro         


        
8条回答
  •  感情败类
    2020-11-30 04:25

    For the caching problem why don't you simple use the cache: false parameter?

    $.ajax({ 
        url: "yoururl",
        cache: false,
        ....
    

提交回复
热议问题