Jquery : Refresh/Reload the page on clicking a button

前端 未结 7 2110
独厮守ぢ
独厮守ぢ 2021-01-30 10:51

I have a button which loads after a ajax call , on clicking i want to reload the page (like i press f5)

I tried

$( \".delegate_update_success\" ).click         


        
7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 11:07

    simple way can be -

    just href="javascript:location.reload(true);

    your answer is

    location.reload(true);
    

    Thanks

提交回复
热议问题