JQuery Ajax call often not working on Safari 6

后端 未结 5 1703
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-10 09:51

My Ajax call is really simple as below:

function ajax(reqUrl, params , callback) {
console.log(\"Request URL \"+reqUrl);
var cond;
cond = $.ajax({
    type:          


        
5条回答
  •  半阙折子戏
    2020-12-10 10:34

    Finally, I found error .. Safari doesn't reload my JavaScript files again even disable Cache. So I put all of my JS code into:

    $(document).ready(function(){
     // start load my js functions
     init();
    });
    

    to reload my JS files when my page was ready. Cheer !

提交回复
热议问题