Home >Web Front-end >JS Tutorial >The window.location.reload() method refreshes the page and pops up the dialog box to display the web page again_javascript skills
When refreshing the page using the window.location.reload() method, sometimes a pop-up box like this will appear during browsing.
The solution is :
1: document.location.href = "$ {base}/rwfp/rwfpcontent" Use this method to find the location of the Action corresponding to the page. Although the page is refreshed, the data will be displayed from the first page after the refresh, and will not stay on the original page.
2 : $("#yhsubmit").click() This method is related to paging. #yhsubmit is