Refreshing page on click of a button

后端 未结 6 1177
无人及你
无人及你 2021-02-02 09:33

I would like to refresh the current page when a button is clicked.

Using JavaScript, I have the following:

6条回答
  •  离开以前
    2021-02-02 10:36

    This question actually is not JSP related, it is HTTP related. you can just do:

    window.location = window.location;

提交回复
热议问题