ajax page cannot display HTML elements correctly based on system time
ㄗs↘﹏尐 云
ㄗs↘﹏尐 云 2018-06-24 18:15:38
0
1
1502

The green sign-in button is displayed and hidden according to the current system time. For example, the class time of physical education class is 11:15, then the display time period of the sign-in button should be 10:45-11:15, and it will not be displayed at other times. Now I performed a local test by modifying the system time and found that I could not get real-time results. I had to refresh the browser multiple times and clear the cache and temporary files. What is the problem? QQ图片20180624181500.png

ㄗs↘﹏尐 云
ㄗs↘﹏尐 云

reply all(1)
小猪cms@洪涛          .

Written by AJAX? The page displays a certain element and JS judgment is enough. As for the problem of multiple refreshes you mentioned, you can just change the browser and test it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template