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

后端 未结 7 870
滥情空心
滥情空心 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:36

    try the below:

    window.location = self.location;
    

    above code does not work for some browsers, you can even try:

    location.reload( true ); 
    

提交回复
热议问题