Title, just want to refresh this layer, 5 minutes to refresh, this how to achieve, is not to use JS to achieve, code? Thank you!
Reply to discussion (solution)
The great gods, help!
Baidu's JS frame qwrap or jquery and so on. Every five minutes to an Ajax
Baidu's JS frame qwrap or jquery and so on. Every five minutes to an Ajax
Please give the detailed code
SetInterval () Take a look at the use of this function
Or do not come out, how to do ah?
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
You have to learn something, or else not.
You have to learn something, or else not.
Give me some advice! To learn those aspects?
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
Ajax I will not oh, do you have the code?
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
Ajax I will not oh, do you have the code?
No, you know what, Mom? Do you know Google?
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
Ajax I will not oh, do you have the code?
No, you know what, Mom? Do you know Google?
This understanding
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
Ajax I will not oh, do you have the code?
No, you know what, Mom? Do you know Google?
This understanding
If you understand, do it.
5 minutes automatic refresh a layer is very difficult, if the whole page is refreshed very simple, the great God taught me Ah!
Refresh a layer, just use the timer Ajax to query the data, and then assign a value based on the ID of the layer is OK
Ajax I will not oh, do you have the code?
No, you know what, Mom? Do you know Google?
This understanding
If you understand, do it.
Or not?
Look at the following example
Http://www.w3school.com.cn/htmldom/met_win_setinterval.asp
LZ main asks Ajax asynchronous execution
Refresh Page Section
1. JS Timer
2, the implementation of AJAX requests to the background of the specific use of XMLHttpRequest this is the core of Ajax, a function set can make a request to the background and return the results
3, according to the results returned by XMLHttpRequest, with JS to perform the specific operation
Page part timed refresh, the key is Ajax
If you do not need to return the background data = = Direct JS timer, update the specified div content on the line, the content is JS front-end generated (date or something)
SetInterval () plus load () function, 5 seconds load () this layer once
Why can't I write it? I'm too much food!