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

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

    Try this:

    window.opener.location.reload(true);
    window.self.close();
    

    This works for me on all major browsers.

提交回复
热议问题