[removed].reload(); not working for Google chrome

后端 未结 7 849
滥情空心
滥情空心 2020-12-18 23:08

I am using AJAX action after getting the response, I want to reload the current page, for which I am using:

 window.location.reload();

It w

7条回答
  •  遥遥无期
    2020-12-18 23:41

    Not sure why, but in my case i fixed it by wrapping the reload() call in a setTimeout with 100 ms.

    setTimeout(function(){
        window.location.reload();
    },100); 
    

提交回复
热议问题