Home > Article > Web Front-end > Summary of refresh page implementation methods (HTML, ASP, JS)_javascript skills
Scheduled refresh:
1,
Description: url is the URL address of the page to be refreshed
2000 is the waiting time = 2 seconds,
2,
Explanation:
n is the number of seconds to wait before loading the specified URL.
url is an absolute URL to be loaded.
n, is the waiting time, in seconds
url is the URL address of the page to be refreshed
3,
Explanation: Generally, a url parameter or form value is used to determine whether an operation has occurred, and then response is used. redirect refresh.
4, refresh the frame page
Refresh regularly:
1,
Explanation: url is the URL address of the page to be refreshed 2000 is waiting Time = 2 seconds,
2,
Description:
n is the number of seconds to wait before loading the specified URL.
url is an absolute URL to be loaded.
n, is the waiting time, in seconds url is the URL address of the page to be refreshed
3,
Note: Generally use one Use the url parameter or form value to determine whether an operation has occurred, and then use response.redirect to refresh. <script>setTimeout("location.href='url'",2000)</script>4, refresh the frame page <script>setTimeout("location.href='url'",2000)</script>