Home > Article > Web Front-end > Multiple implementation methods of js returning to the previous page and refreshing_javascript skills
Return to the previous page
Refresh the current page< ;/a>
Return to the first two pages
Return to the previous page and refresh
Return to the previous page
Page jump:
onclick="window.location.href='list.php'"
Javascript refreshes the page Several methods:
1, history.go(0)
2, location.reload()
3, location=location
4, location.assign(location)
5. document.execCommand('Refresh')
6, window.navigate(location)
7, location.replace(location)
8, document.URL=location.href
Methods to automatically refresh the page:
1. Automatically refresh the page: Add the following code to the