JQuery Ajax request not working on iPhone device browser

前端 未结 5 1743
傲寒
傲寒 2021-02-10 02:07

We are in the process of developing an iPhone web app using extensive jquery AJAX calls to extract data from an XML web service. When developing and testing on my Mac on Safari

5条回答
  •  遥遥无期
    2021-02-10 02:46

    I had the same problem writing an AJAX chat for a website. The problem is the cache. Add this line of code and the problem is solved.

    $.ajaxSetup({ cache: false });
    

提交回复
热议问题