Home > Web Front-end > JS Tutorial > Summary of refresh page implementation methods (HTML, ASP, JS)_javascript skills

Summary of refresh page implementation methods (HTML, ASP, JS)_javascript skills

WBOY
Release: 2016-05-16 18:58:45
Original
755 people have browsed it

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>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template